Problems loading TypeScript files into Visual Studio 2017 (Node.js process consuming lots of CPU)

0

When you open a Web Application project and display TypeScript (.ts) files, Node.js starts to consume a lot of CPU (30-40%).

In .ts files of up to approximately 100 lines, loading is slow, but it shows all navigation (Go To Definition - F12). For larger files, from 600 lines the loading is incomplete and the navigations for example exist for some objects only, and if I give F12 in them for example it will completely lock Visual Studio (having to forcefully close).

AsIcheckedoutfromVersion2017,allloadingofJavaScriptandTypeScriptfilesisdonebyNode.js.ThissameprojectopenswithoutproblemsinVisualStudio2015,butitdidnotuseNode.js

Has anyone ever had this problem? Is it possible to disable Node.js for loading .ts files in Visual Studio 2017?

Settings:

Visual Studio Enterprise 2017 - 15.7 Preview 5; TypeScript 2.6 (already tried to upgrade to the latest version); Node.js 8.11.1 (I have already upgraded to the latest version);

    
asked by anonymous 27.04.2018 / 16:48

0 answers