I am using Visual Studio 2015 3 update. When I try to use Resharper to Refactor my TypeScript code, Resharper tries to convert the code to every folder including node_modules. Obviously, I don't want Resharper to touch node_modules, because these are third-party libraries (and not my code), and it will probably take 6 hours to try to go through all the folders that I have in node_modules. How to make Resharper ignore node_modulesin all cases, especially during the Refactor process?
I have already tried the following:
- Resharper ... Parameters ... Search and navigation ... Elements for skipping ... Add node_modules
- Resharper ... Parameters ... Code verification ... Settings ... Elements for skipping ... Add node_modules
I also tried changing the node_modules folder to Hidden in its Windows Folder Properties, but Resharper still gets there for this Refactor process.
What else do I need to do to get Resharper to ignore node_modules?
source
share