20 September 2015

How to fix JavaScript IntelliSense in Visual Studio

If you have situation, that after some update in Visual Studio (TypeScript, for example), when you edit a JavaScript file, IntelliSense not work, here is a fix procedure:

Make sure your computer has an internet connection, and
If the Tools for Universal Windows Apps Development are still installed:

Go to Programs and Features, select Visual Studio 2015, click Change.
In Visual Studio setup, click Modify.
Deselect the feature Tools for Universal Windows App Development.
Select Tools for Universal Windows App Development again, and click Update.

If you have already uninstalled the Tools for Universal Windows Apps Development:
Reinstall Tools for Universal Windows App Development.

Or, take the following steps to reinstall the JavaScript project system and language service:
Download the installer for your edition of Visual Studio, such as, vs_community.exe.
Open a command window, and run the following command:
vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive

Change directories to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE.
Run the following commands
devenv /updateconfiguration
devenv /clearcache
Post a Comment