node-idea
v0.0.1
Published
> Utilities for working with Node.js in IntelliJ
Downloads
7
Readme
node-idea
Utilities for working with Node.js in IntelliJ
Install
npm i -g node-idea
Usage
cd your-intellij-project-dir
node-idea
Watch an IntelliJ project folder for when new folders are created, and automatically exclude their node_modules
and libs
folders.
Features
Excluding node_modules
Once the IntelliJ indexer starts it cannot be stopped and will max out your cpus until its finished. See here for some discussion.
IntelliJ only indexes direct dependencies, that is, those defined in your package.json
.
If we use a mono-project (i.e. one IntelliJ project/module with multiple packages inside), we may end up with a huge number of dependency files to index.
node_modules
dirs can easily grow to 100K+ files even when installing one module, which will take ages to index.
Installing a single module will cause indexing, which will slow down the IDE.
If the IntelliJ cache becomes corrupt (e.g. after an improper shutdown), you will have to wait ages for it to re-index.
License
MIT © Vaughan Rouesnel