How to use R# Typescript features on an existing folder?

I am developing an Angular app in Visual Studio Code that I created via Angular-CLI. Now I am going to make several refactoring and wants to take advantage of the R# TypeScript features.

What is the easiest way to do this in Visual Studio 2017? I tried to open the project folder using File > Open > Folder. This worked, and all R# TypeScript features seem to be available. Nevertheless, when I try to rename a symbol (F2) Resharper scan the whole node_modules folder and the operation takes forever.

I have tried to exclude the node_modules folder using Resharper > Options > Code Editing > Third-Party Code > Library Code but get an error message saying "Some selected folders are not part of soluiton and were not added." I am using R# 2017.1.3.

I have also tried to delete the folder node_modules and clear R# cache. Interestingly this did not help. R# still scan files typically found within node_modules.

Please advise what the simplest way is to use R# with an existing Angular/Typescript folder. I do not need to be able to build the project from within Visual Studio.

Thank you!

0
2 comments

Hello Michael!

 

Thank you for contacting us.

Similar issue is reported in our issue tracker - https://youtrack.jetbrains.com/issue/RSRP-462950

Please feel free to comment or vote for it.

Thank you.

0

Thanks. Are there any known workarounds?

I am puzzled that it is not working even if i remove the node_modules sub-folder.

0

Please sign in to leave a comment.