indexingintellij-idea

Disable IntelliJ indexing on specific folder


In my project, I have a .deploy folder which is created/updated when I deploy my app locally. Is it possible to disable indexing on that folder? Everything slows down whenever I deploy and it's really annoying - I have to wait a few minutes whilst IntelliJ doing unnecessary indexing. In module view, I excluded that folder, but it's not helping.


Solution

  • Mark this 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.