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. 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)
There are two options:
- Skipped code option is preferable to use for big compiled bundles as it fully ignores files (without analyzing and even parsing).
- Library code option is applied to library code and disables only code analysis while the file is parsed and used for resolve.
Please refer to the corresponding help article for more details.