Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / June 2005

Tip: Looking for answers? Try searching our database.

syntax highlighting on non-standard file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Torsten Mueller - 10 Jun 2005 07:09 GMT
I have a file that contains C++ but it's an input file for an Oracle
preprocessor. It includes some embedded SQL ... The extension of the
file is .pc what causes Visual Studio to show it just in black and
white. I want to see it as C++.

In former times it was possible to define such special files in a
configuration file called langext.dat located in a bin directory. MS
itself does this for the STL headers having no extension at all and I
know that this worked even with my own files some years ago. But when
I insert my filename today into langext.dat it doesn't work. It
remains just black and white. Does anybody use this feature? Is there
a trick?

T.M.

My Visual Studio says about it's version:

Microsoft Developement Environment 2003 Version 7.1.3088
Microsoft Visual C++ .NET   69462-270-0000007-18723
Tom Dacon - 12 Jun 2005 04:54 GMT
Look around on the MS site for something called Powertoys for Visual Studio
.Net. There's a little application called VSTweak that will let you add new
file name extensions and map them to pre-existing extensions for syntax
coloring.

Tom Dacon
Dacon Software Consulting

>I have a file that contains C++ but it's an input file for an Oracle
> preprocessor. It includes some embedded SQL ... The extension of the
[quoted text clipped - 15 lines]
> Microsoft Developement Environment 2003 Version 7.1.3088
> Microsoft Visual C++ .NET   69462-270-0000007-18723

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.