Groups | Blog | Home
all groups > visual studio .net general > october 2005 >

visual studio .net general : Add file extention to schema?


CT
10/25/2005 12:00:00 AM
Hi,

You need to add a key to the Registry to do this. Anyway, add this key and
default value to your Registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File
Extensions\.tmpl]
@="{E34ACDC0-BAAE-11D0-88BF-00A0C9110049}"



--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

[quoted text, click to view]

rbrooks NO[at]SPAM gmail.com
10/25/2005 7:09:52 AM
I've been using VS.net 2003 as an html editor for some things I'm doing
at work. Most of my html files have an extiontion of .tmpl. What I
want, is the .tmpl files to open just like .html files. Same color
scheme, auto complete, etc. Is this possible?


Thank you.
Mikhail Arkhipov (Microsoft)
10/26/2005 9:45:40 AM
On 10/25/05 7:56, in article #6NCYRX2FHA.4076@TK2MSFTNGP09.phx.gbl, "CT"
[quoted text, click to view]
You don't have to edit registry for that, there is perfectly good UI
available :-). Besides, there is zero guarantee that every version of VS
will use the same keys og editor GUIDs.

Try File | Open, select your file, click on a little arrow on the Open
button and choose 'Open With...". Find the desired editor and click 'Set as
Default'

Thanks
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights
CT
10/27/2005 11:44:12 AM
Excellent, thanks. Been using VS .NET since the early beta days years back,
but never realized that. :-)

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Mikhail Arkhipov (Microsoft)" <mikhaila@online.microsoft.com> wrote in
message news:BF8500C4.176C8%mikhaila@online.microsoft.com...
[quoted text, click to view]

rbrooks NO[at]SPAM gmail.com
11/1/2005 1:13:51 PM
Thanks both of you for your suggestions. I replied to this thread last
week, but apparently it didn't go through.

Both solutions enable the color scheme, but niether also allow
intellisense to work. Is there something different that needs to be
done for that?
CT
11/2/2005 12:00:00 AM
Is the file part of a project? If not, try adding it to a project.

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

[quoted text, click to view]

AddThis Social Bookmark Button