Hello Matt,
Thanks for the quick response.
You could also submit this suggestion to Microsoft at the following page:
http://register.microsoft.com/mswish/suggestion.asp?&SD=GN&LN=EN-US&gssnb=1
We appreciate your input, and look forward to building better products with
helpful ideas such as yours.
Thanks again for participating the community.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "Matt" <***@usis.com>
!Sender: "Matt" <***@usis.com>
!References: <14eb01c38b43$82812fc0$***@phx.gbl>
<***@cpmsftngxa06.phx.gbl>
!Subject: RE: Associate .shtml files correctly with VS 2003
!Date: Mon, 6 Oct 2003 03:49:25 -0700
!Lines: 97
!Message-ID: <05a301c38bf7$82625050$***@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!Thread-Index: AcOL94JiNkwGJzuxQH6lX/NEgk+PCw==
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Newsgroups: microsoft.public.vsnet.ide
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.ide:8553
!NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!X-Tomcat-NG: microsoft.public.vsnet.ide
!
!OK, thanks... I guess I've done all I can with this for
!now then!
!
!
!>-----Original Message-----
!>Hello Matt,
!>
!>Thanks for posting in the group.
!>
!>This is a FAQ when operating .shtml file in VS.NET. Here
!is Don (from VS
!>Core Team)'s reply on it:
!>
!>------------------------------------------------
!>There are really two issues here.
!>
!>(1) given an extension that VS.Net does not understand
!out of the box, how
!>to open it with a particular VS editor every time? As
!you probably figured
!>out already, you choose Open With.. from the context
!menu on the file, pick
!>the editor you want, click "Set as Default", and Open.
!Done!
!>
!>(2) having associated .shtml with the HTML/XML editor,
!how to make it treat
!>shtml as HTML and not XML so you can use the designer,
!auto complete, etc.?
!>I talked to the editor team and unfortunately there is
!no way to do this.
!>The HTML/XML editor is designed to treat unknown
!extensions as XML
!>(probably because XML files have so many different
!possible extensions) and
!>there is no way to tell it that .shtml is actually HTML.
!>
!>If opening in the HTML editor is important, I can only
!suggest renaming the
!>files .htm or .html. I have logged this issue though,
!and they say that
!>theywould like to improve this in a future version.
!>-------------------------------------------
!>
!>Does that answer your question?
!>
!>Best regards,
!>Yanhong Huang
!>Microsoft Online Partner Support
!>
!>Get Secure! - www.microsoft.com/security
!>This posting is provided "AS IS" with no warranties, and
!confers no rights.
!>
!>--------------------
!>!Content-Class: urn:content-classes:message
!>!From: "Matt" <***@usis.com>
!>!Sender: "Matt" <***@usis.com>
!>!Subject: Associate .shtml files correctly with VS 2003
!>!Date: Sun, 5 Oct 2003 06:20:56 -0700
!>!Lines: 13
!>!Message-ID: <14eb01c38b43$82812fc0$***@phx.gbl>
!>!MIME-Version: 1.0
!>!Content-Type: text/plain;
!>! charset="iso-8859-1"
!>!Content-Transfer-Encoding: 7bit
!>!X-Newsreader: Microsoft CDO for Windows 2000
!>!Thread-Index: AcOLQ4KBqzTIFH0LSiuO0TU7Qrhfgg==
!>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!>!Newsgroups: microsoft.public.vsnet.ide
!>!Path: cpmsftngxa06.phx.gbl
!>!Xref: cpmsftngxa06.phx.gbl
!microsoft.public.vsnet.ide:8535
!>!NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
!>!X-Tomcat-NG: microsoft.public.vsnet.ide
!>!
!>!I would like to edit my .shtml files with Visual Studio
!>!2003... I opened a .shtml file using File... Open...
!>!File.. then Open With from the dropdown button, and was
!>!able to choose the HTML/XML Editor. Now the .shtml
!opens
!>!with the proper color coding in the IDE... So far so
!good.
!>!
!>!However, instead of having the "Design" and "HTML" tabs
!>!under the code, I have "XML" and "Data". I would like
!to
!>!be able to see the design view of the page, or at least
!>!be able to right-click the code and choose "View In
!>!Browser". As it is, I have to type in my localhost URL
!>!just to see the file rendered properly. Is there any
!way
!>!we can make the IDE act like this?
!>!
!>
!>.
!>
!