If you experience performance issues in a project containing js/ts code excluding js/ts files from code analysis can improve ReSharper performance noticeably.
It could be done in case you have in your project:
- big compiled js/ts libraries;
- libraries that include a big amount of js/ts files and these files are not considered by ReSharper as library code (e.g. jquery.js, fontawesome)
You can do all that stuff it via ReSharper | Options | Code Editing | Third-Party Code. (Please note that this feature is applied only to Web languages and C++, while ReSharper | Options | Code Inspection | Settings | Elements to skip is applied to C# code only)
There are two options:
- Library code option is applied to library code and disables only code analysis while the file is parsed and used for resolve. This section is useful for including third party code, which you do not maintain yourself but need completion suggestions for it and need to be able to navigate there to check implementation details.