How can I stop indexing intellij idea?

前端 未结 5 1055
星月不相逢
星月不相逢 2020-12-23 15:38

Without \"excluding\" folders, how can I stop Indexing intellij idea on start? It\'s very very annoying that it starts indexing on startup without allowing you to, for examp

相关标签:
5条回答
  • 2020-12-23 16:11

    You Can easily resolve it.

    Just Go to: File -> Setting -> Directories.

    Stop all the files that are going to included and need to empty ADD Content Root.

    Like This:

    enter image description here

    0 讨论(0)
  • 2020-12-23 16:17

    Now, "excluding" folders is the only way to disable indexing when a change occurs in one of excluded folders (except for generated sources that mustn't be excluded).

    Checked with Intellij 2016.2.5

    I suggest you to tune your Intellij configuration, see this post : https://stackoverflow.com/a/22508853/779338

    0 讨论(0)
  • 2020-12-23 16:20

    After struggling with this issue for around a week and searching all the solution I came to below conclusion: either upgrade your intellij which gives you feature to pause the indexing ( I can't upgrade my intellij due to license issues ) so the other option was to disable all the plugins and then try enabling as per the need one by one.

    After enabling any of the plugin if you see it behaving the same uninstall the plugin and download some alternative of it.

    0 讨论(0)
  • 2020-12-23 16:23

    You can stop synchronizing/indexing each time you switch to the IDEA and it's quite useful when dealing with big projects and outside build process which triggers indexing.

    Just disable checkbox System Settings -> Synchronize files on frame or editor tab activation.

    Make sure you run indexing manually to update hints when needed through Synchronize menu (Cmd-Alt-Y on Mac) or File -> Reload All from Disk to run it manually for IDEA 2020 running under Linux

    0 讨论(0)
  • 2020-12-23 16:24

    Try:

    File-> Invalidate Caches / Restart.

    I think that this issue happens (at least for me it seems to be the reason) if you start commit and then close the IDE in the middle of the process.

    0 讨论(0)
提交回复
热议问题