IntelliJ is a nice IDE, but when we are talking about file indexing It makes me crazy. I have been using IntelliJ since 2008 on big Java projects, and most of the time, I am trying to optimize my workspace by changing a bunch of configurations to avoid constant file indexing. Also, there is another weird issue when I close the IntelliJ using Command+Q shortcut, and my Java workspace loses all (excluded folder) configuration. It's so annoying. I have to exclude all of those JS folders again because the IDE does not keep the last configuration state, indexing my Java projects again.
Usually, I follow the steps below to reduce indexing issues.
- Excluding JS folders
- Optimize VM Options
- Uninstall Git plugin (I have been using another tool)
- Uninstall Database tool plugin
- Unload project modules
- Disable unnecessary plugins
Since a long time ago I see many indexing and memory issues reported by IntelliJ users. There is probably another way to reduce IntelliJ file indexing, maybe creating profiles or an IntelliJ lightweight version allowing the users to choose which features they need.