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
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.
<autosync enabled="false" />
to the top of _references.js file
If previous answer is not clear enough or tl;dr
add
/// <autosync enabled="false" />
to the top of _references.js file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With