Configure Visual Studio 2005 for 'Classic' ASP syntax highlighting and intellisense
You can use the Visual Studio 2005 IDE to edit your Classic ASP files and still utilize syntax highlighting and intellisense. All you have to do is associate the .asp
file extension with the Web Form Editor. When doing this you are telling the IDE to treat .asp
files the same as .aspx
files, in turn sort of tricking the IDE in to giving you the syntax highlighting and intellisense that you want.
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.
And now enjoy all the syntax highlighting and intellisense features for JavaScript, HTML and Visual Basic while editing your Classic ASP files.