Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Editor Font Color in Visual Studio 2008 1

Status
Not open for further replies.

XgrinderX

Programmer
Mar 27, 2001
225
US
Hey there,

My company just gave us Visual Studio 2008 to use and I am setting it up to edit all our old ASP applications. When I load the source code for an ASP page, it does not use the font colors setup in the text editor. The comments are not green, keywords are not blue, strings are not maroon, etc. All the VBScript code is just black. The HTML code is using the font colors correctly.

Anyone out there know a way to make the font colors apply to the VBScript ASP source code in Visual Studio 2008?

-Greg
 
I looked in VS2005, and (I am not sure if this is how to do it in 2008) I went to [tt]Tools > Options > Fonts and Colors[/tt]
and you can change the text, comment, function et al. colours there.

________________________________
Top 10 reasons to procrastinate:
1)
 
You can't, it's been deprecated in 2008

We are depcrecting VB Script colorization and intellisense support in Visual Studio 2008. We recommend to customers to use VS 2005 or VWD 2005 to edit VB Script. Those products can be installed on the same machine as VS 2008 without any issues.

This site explains it along with some work arounds (I posted another work around below I got from elsewhere)


Another way you can do is apply a different encoding to it, but it won't be classic ASP.

Tools - Options - Show All Settings Checkbox (bottom left)
Text Editor - File Extention

Type "ASP" in the Extention box, choose an editor and click add.



TIP: trying googling the answer before posting, you'll find that more times than not someone else somewhere has had the same request and posted an answer online.
----
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javascript enabled browsers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top