What is .ntvs_analysis.dat

I am using Node.js Tools for Visual Studio.

When I open the project, it will take some time to load due to the analysis process of Node.js.

Another problem: .ntvs_analysis.dat is growing more and more?

What is it and do I need it?

+8
visual-studio ntvs
source share
1 answer

As I understand it, the NTVS extension parses your code to provide IntelliSense support. The result of the analyzed code is saved in the ntvs_analysis.dat file. However, it not only analyzes your code, but also all installed npm_modules and their dependencies (both them and them)). Therefore, installing additional modules will make your ntvs_analysis.dat very fast.

There is an open issue on github https://github.com/Microsoft/nodejstools/issues/88 about this. The file is getting really big for some people, including me.

The proposed solution proposes to reduce the depth of scanned folders. Disabling IntelliSense will help save the file as discussed.

+8
source share

All Articles