Improve performance for "Syncing projects" for Vuejs

Hi,

 

I recognized that the IDE command "Syncing projects" takes up to 10 minutes when opening my Node.js project in Rider or when doing a "git pull" or when something in "node_modules" changed. The project has about 300 vue + ts files and some dependencies (like 50 or so).

The problem here is that while syncing the projects, intellisense doesn't work and I can't use my file templates to add additional vue components to the project.

Of course, this can take a long time, especially if you analyze the node_modules folder. Is there a chance you speed up that process?

Like loading the node_modules in a separate process and merge it in the analyzis result as soon as it finished? This way, I could keep on working with my project files (as the files should be analyzed by now, I get intellisense for my own stuff again and can add/delete/modify files).

0
4 comments

Hi Tabaloa

One can exclude any folder from analyzing and indexing by doing the following:

  1. Click on the eye icon in Solution Explorer -> Show All Files.
  2. Right-click on 'node_modules' folder and choose `Exclude`
  3. Right-click on 'node_modules' folder -> Tools -> Stop index

Also, you can try to add this folder in `Elements to skip` in File | Settings | Editor | Inspection Settings

Please, let me know how it works for you. Thanks! 

0

Hi Alexandra,

I tried doing so (first and second step) but rider yells at me

What can I do against this?

0

Hi Tabaloa

How did you create this project? Could you please attach your sln/csproj files? 

You can do it privately with a new request (Help | Report a bug) or using our Upload service. Logs from Help | Collect logs could be also useful (or they can be collected automatically with Help | Report a bug).

Thank you!  

0

The project was created throught VS 19 (njsproj). I'll send the csproj file as soon as I got access to it again.

0

Please sign in to leave a comment.