Reputation: 35276
Is there a for Intellij to stop indexing auto-generated folder e.g. Maven target folder. It is very slow and hinders productivity when it starts indexing after building and running a project.
Specifically when I run mvn jetty:run
it starts indexing when the target gets created with the compiled files. The indexing is painfully slow and happens every run which is causing developer time (a lot).
For a project with a huge code base, this indexing time is very slow.
Upvotes: 0
Views: 636
Reputation: 565
You can Mark target folder as Excluded in the File | Project Structure | Modules | Sources tab.
Edit: also make sure it's not added as a library in the project.
See here Disable intellij indexing on specific folder
Upvotes: 1