Link to home
Start Free TrialLog in
Avatar of SOTA
SOTAFlag for Canada

asked on

Visual Studio 2005 text editor

How can I change the appearance of the Text Editor in VS2005 so it formats correctly for JavaScript?
For example, if I use "//" to comment out a line of code, it should show the line with a Green colour and not trigger Intellisense to show an error.

Hope I am being clear. Thanks!
Avatar of Giuseppe 'Pino' De Francesco
Giuseppe 'Pino' De Francesco
Flag of Ireland image

I'm unaware of such settings in VS2005, but the question is: why are you using such an old version? In VS2015 (current version) JavaScript is fully supported, even the intellisense: https://blogs.msdn.microsoft.com/visualstudio/2015/06/10/javascript-editor-improvements-in-visual-studio-2015/
Avatar of SOTA

ASKER

Is VS2016 free?
There is also VS2017 in many flavours. Free?
Have to ask. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Giuseppe 'Pino' De Francesco
Giuseppe 'Pino' De Francesco
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SOTA

ASKER

Wow! Shocking actually. ;-)
Thanks so much Giuseppe "Pino" De Francesco!!!
Cheers,
Russ :)
Avatar of SOTA

ASKER

Wonderful service!! Thanks!!
You are welcome :)
Avatar of SOTA

ASKER

OK...I just installed VS2016. I selected JavaScript as my environment and it does not correctly show the code. Is there something I am missing?
Avatar of SOTA

ASKER

Ha! I just fixed the issue! And, it works in VS2005 as well.
Tools>Options>Text Editor>File Extension>aspx extension with JavaScript Editor

Yay!!!
Hi, Visual Studio 2016, is not the full Visual Studio, it's called Code. You need Visual Studio 2015 Community Edition, here's the direct link: https://go.microsoft.com/fwlink/?LinkId=691978&clcid=0x409
Avatar of SOTA

ASKER

Got it...thanks!!!!