How to solve the stutter problem caused by PHPstorm scanning index?

RT

has been used well before, but it has become very stuck since I used npm to install some packages to generate the node_modules directory. I tried to mark the node_modules directory as Excluded, but it didn"t seem to work. I still scanned every time I opened the software, and I tried Invalidate Cache/Restart,.

did the bosses encounter this problem? how did you solve it?

May.05,2021
Have you tried

, directly excluding node_modules to the whole ide
clipboard.png


using

npm install
Before

, manually create a node_modules directory. If the directory shows a yellow icon at this time, forget about the index.

if not, right-click the directory, select Mark Directory as, select exclusion

then restart. If you still say you will index, click "File" > "invalid Caches/Restart." in the upper left corner to reset the index and restart PHP Storm

.
Menu