I often get the question “Why isn’t IntelliSense working?”. The most common cause is an error in one of the referenced scripts. If there was an IntelliSense update error, the status bar will tell you.
Given this situation, the Error List will complement the status bar with one of two messages.
Error Message 1: A script failed to execute…
This type of error is commonly caused by either a syntax error, calling a member that doesn’t exist, or an infinite loop. The filename/source is provided to help you debug. After the script error is fixed, IntelliSense will automatically retry. Note: I’ve noticed the line number to be off by 1; we’ll be fixing that.
Error Message 2: Something more serious…
In rare occurrences, our execution/analysis engine (TypeLibBuilder.exe) will crash due to the script input. A stack overflow is the only known cause for this. Rather than retrying the script in question, we will disable IntelliSense temporarily until you reopen the file.
Known JScript IntelliSense Limitations
While script errors may cause incomplete IntelliSense data, the following feature limitations may also be the root case:
If All Else Fails…
JScript IntelliSense was designed to continuously monitor changes and update IntelliSense accordingly. If for some reason it does not update, we’ve added a command to force the mechanism to recalculate its data. You can find this command under “Edit”, “IntelliSense”, “Update JScript IntelliSense”.
As a final note: “An escalator can never break, it can only become stairs.” Likewise, in the event of an advanced IntelliSense failure, there should always be basic IntelliSense available for JScript intrinsic objects and their members. In tangible terms, if you type “Object” dot, the completion list should always contain “prototype” regardless of any script failures. In the unlikely event there is no IntelliSense at all, please feel free to let me know personally at jking-at-microsoft-dot-com.
Hope this helps!
Jeff KingProgram ManagerVisual Studio Web Tools
PingBack from http://www.travel-hilarity.com/airline_travel/?p=1117
My visual studio 2008 doesn't support external js file code color and IntelliSense. DO you maybe know is that bug or some settings issue?
Hi Andrej: send me mail at jking-at-microsoft-dot-com and we can try to diagnose what is wrong. Thanks!
<quote>Note: It is a known issue that certain 3rd party frameworks are affected by this limitation and we are currently working to make accommodations there.</quote>
Would one of them might be Ext?
http://extjs.com/
Maybe some of these issues will be resolved with the new VS 2008 hotfix (released in February 2008).
I have problems to make IntelliSense work for the mootools library. The command Edit > IntelliSense > Update JScript IntelliSense gives me a nice error:
"Could not complete the action." and "The operation could not be completed. No such interface supported"