views:

1862

answers:

5

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

+1  A: 

In Visual Studio, go to TOOLS -> OPTIONS -> Text Editor -> Basic -> VB Specific

and check "Enable Outlining Mode"

Jose Basilio
No dice... it's already checked.
Birk
A: 

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.

EJB
I've opened and closed the project multiple times a day for several months now with no change :(
Birk
+3  A: 

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.

Robert S.
This seems to have helped the Intellisense view partially... I'm still not getting auto case correction for Intellisense completed code.
Birk
Thanks Robert! Just had the same problem in VS2008 C++ and this did the trick.
Shane MacLaughlin
A: 

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.

Birk
A: 

<%@ Language="VBScript" [insert boring monotonous code project here] %>

@ Language="VBScript" seems to do the trick for me. Too bad I have to update all my code to include this now...

I'll try this, thanks
Birk