How can you setup the Visual Studio 2005 IDE to correctly do syntax highlighting of Classic ASP VBScript code? I tried renaming the file from .asp to .aspx and opening it in the IDE and it did the syntax highlighting correctly. There must be a setting that I am missing to allow this.
RESOLVED:
I figured it out.
The steps in setting up the IDE are as follows:
- Open Visual Studio
- Goto the "Tools" menu and click "Options..."
- Check the "Show all options" checkbox in the bottom left of the dialog box.
- In the right pane expand "Text Editor" and select "File Extension"
- Enter "ASP" extension in the "Extension" textbox
- Select "Web Form Editor" in the Editor dropdown box
- Click the "Add" button and click "Ok" on the dialog box.
Chris Pietschmann, MCAD, MCSDASP.NET AJAX Virtual Earth Mapping Server Control