You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
I reported a performance problem with Visual Studio 2015 in 2015. I also met Dan at Microsoft and mentioned the problem. Now after two years, the problem has only become worse with Visual Studio 2017 Enterprise Edition 15.3.5. Out of 30 minutes that I code JavaScript (Angular & React) in Visual Studio 2017, I spend 10 minutes at least waiting at various times due to the unresponsiveness.
These are the issues:
Save a angular typescript file, the Visual Studio 2017 becomes unresponsive.
Code for few seconds and try to save, the Visual Studio will give a message saying it is formatting and then it hangs for a while.
I suspect that this unresponsiveness is due to some JavaScript service running in the background. Here is my processor look like at most of the time, and worse performance by Node server services most of the time consuming CPU 50%.
This is how my settings look like. Turning off Language Service off did not help.
Solution:
It is so frustrating to work in an Enterprise application in Visual Studion 2017 that has DOTNETCORE and Angular Typescript. To save time, I had to ignore all the ts files from the project. This is the command I used in tsconfig.json:
I had to use a gulp task to transpile the typescript files to JavaScript files.
A permanent solution to this problem may be in Visual Studio or asp.net tools or msbuild, but posting here because this problem does not exist for other language projects like C#.