Hello Jakub
Since we installed the update 1.1, IntelliJ indexes all the files in the node_modules and it takes minutes to finish. The bad thing is, it does it every time I open the project.
Version 0.9 didn't show the same behaviour.
Problem exists on Windows 7 and on OS X Yosemite.
Greets
@nbellon Thank you for reporting.
v0.9 didn't index the files because this coloring feature needs to checks the Project files structure.
There is already reported issue #78 which asks for excluding files from indexing if it's already ignored.
I have it in my mind and I'll try to improve plugin's performance.
Thanks,
Jakub
I had to disable the plugin as it was really killing performance for me due to this. I have a project with lots of node_modules on on my MBP Retina it was really dogging things and at some point InteliJ would hang. I'll keep an eye out for the update.
@nbellon @jghankins
It is highly likely that support for .npmignore and .jshintignore causes this bottleneck (they appears very often in node modules). Can you please uncheck them in
Settings > Ignore files support > Languages settings > Enable ignoring column
and check if the indexing speeds up ?
Ok, seem's to work. I uncheckt JSHint and Npm and the deadly indexing stoped.
Thanks
Ok, thanks.
It's just a workaround for now - I'll have to disable indexing of the already ignored files by default.
Ok.
FYI: When you disable the two files, the IntelliJ IDE throws an error which does not seem to harm the IDE, but just in case:
"exception in plugin .ignore"
"com.intellij.psi.impl.EmptyFileManager cannot be cast to com.intellij.psi.impl.file.impl.FileManagerImpl"
It's already fixed with ec924d0
I'll push new release soon.
Please update to v1.1.1
Ok, installed it and now it work well.
Regards
From: Jakub Chrzanowski
Sent: Monday, April 13, 2015 2:54 PM
To: hsz/idea-gitignore
Cc: Noel Bellón
Subject: Re: [idea-gitignore] Indexing node_modules everey time when I open the project (#104)
Please update to v1.1.1
—
Reply to this email directly or view it on GitHub.

Most helpful comment
@nbellon @jghankins
It is highly likely that support for
.npmignoreand.jshintignorecauses this bottleneck (they appears very often in node modules). Can you please uncheck them inSettings > Ignore files support > Languages settings > Enable ignoring column
and check if the indexing speeds up ?