Intellij-idea – Disable intellij indexing on specific folder

indexingintellij-idea

In my project I have .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 whilist intellij doing unnecessary indexing. In module view I excluded that folder but it's not helping. Any help would be appreciated.

Best Answer

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.