3 ms·
One thing that IntelliJ does not support is working on multiple branches of a product without having to reindex. I work with a lot of Open Source tools (e.g. H
by lars_francke 10y ago
One thing that IntelliJ does not support is working on multiple branches of a product without having to reindex.
I work with a lot of Open Source tools (e.g. Hadoop, Kafka) with complex build setups. It often takes 10+ minutes for IntelliJ to load a project. If I now switch to a different branch it starts all over again.
I wish it'd keep a cache of multiple index versions around.
- chikei 10y agoI use git worktree as a workaround for this case.
- pavel_lishin 10y agoCan you go into more detail about that?
- zimbu668 10y agoI assume he means he uses git worktree to create a directory structure like so: src/my_project_master/ src/my_project_develop/ src/my_project_new_feature/ Each with it's own IntelliJ project. If he needs to switch branches it's relatively fast to open a different existing project rather than git checkout branch, which can cause IntelliJ to become unresponsive as it reindexes everything. Not tried this, but I experience this quite often and will have to give this a shot.