In the status-bar when I am typing in a Js file it shows this message on keyup and editor hangs for 2 or 3 seconds. This probably started happening suddenly When I moved some Js files into category folders but I am not sure this is the cause. I dont know what is the problem. Before the problem all js files were in a same folder like angular files and my own app files.
I also tried uninstalling the WebCompiler extension and resetting the visual studio from Import & Export Settings and hard resetting through devenv /ResetSettings
command.
I have also applied this answer : Visual Studio 2015 JavaScript Language Service stuck in an infinite loop of downloading non-existing referenced files
If previous answer is not clear enough or tl;dr
add
to the top of _references.js file
I faced the same problem. I have installed the latest updates but the problem remained. Then, I disabled the 3rd party add-ons one by one. It now works without any problems. It is clear that some 3rd party add-ons have bugs causes visual studio malfunctioning.
Hope it works.
I stopped the lagging by editing _references.js and setting autosync enabled="false" and removing a ton of 3rd-party (angular, ionic) library files from the listed references.
to the top of _references.js file