As the topic suggests I've got VS 2008 with sp1 installed and am not receiving full Intellisense or ANY outlining capabilities when editing classic asp pages. My coworker is also using VS2008sp1 and has outlining working correctly (but he has no idea why)
I've made a screen, you can find here Classic asp outlining issue screen shot 1
Has anyone else had this problem? Am I missing something simple?
Thanks for your help
-Birk
You can reset your settings by going to Tools -> Import/Export Settings -> Reset All Settings. I suggest you back up your current settings just in case.
You can also run devenv /setup
from the command-line and it will reset your Intellisense and such.
In Visual Studio, go to TOOLS -> OPTIONS -> Text Editor -> Basic -> VB Specific
and check "Enable Outlining Mode"
I've had the problem in both VS2005 and VS2008 - it comes and goes with no real pattern, and I never found a good solution. Sometimes closing the project and re-starting VS will solve it for a while...but not always.
The best solution that I've found to work is this. For classic asp code on a page ending with a .asp extension you can manage outlining of code by placing different functions or pieces in an asp script block <% %>
.
Then outlining works as expected for those sections. I would still like to find a better option than this however.
@ Language="VBScript" seems to do the trick for me. Too bad I have to update all my code to include this now...