简体   繁体   中英

Visual Studio - javascript file generation almost freeze PC - how to disable

right now I'm writing a code in Visual Studio 2017 (Community).
The code is a mix of Asp.Net, C# and Javascript (with some plugins, like jQuery, knockout, etc..)

I'm facing a very frustrating thing in visual studio that is EVERY time I modify and save a single javascript file, Visual Studio starts a generation of ALL javascript files that slows down A LOT the computer (SSD, intel i5, 8gb RAM) until it finishes, sometimes I need to wait it finish to be able to continue writing my code.

I don't know why VS do this, but I want to know if it's possible to disable it and prevent VS to generate/compile those files every time a save just one file.

Here goes an image that show what VS do:
在此输入图像描述

Somebody knows what is that and what can be done to disable it?

I was having a similar issue, and disabling the language service seemed to help me.

Tools > Options > Text Editor > JavaScript/TypeScript > Language Service

Disable Language Service

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM