Search code examples
intellij-ideaclearcase

Intellij and Clearcase: Performing VCS refresh takes too long


I am using IntelliJ 12 and am seeing some strange problems around Clearcase.

I am knew to IntelliJ so perhaps I've missed some configuration.

Every time I attempt to check in a file, I get the attached popup which appears on my screen for minutes. I can click Skip to hide it, but I don't understand why it takes so long.

Also, when I have a file that is in Clearcase but not yet checked out, when I click on the Clearcase menu I get the option to Check In even after a refresh. This makes no sense and is quite confusing.

Therefore, I'm wondering if the Clearcase plugin is stable, or if I'm missing some config.

enter image description here


Solution

  • Before advising you to log an issue on that IntelliJ ClearCase plugin, check if you aren't using a dynamic view.

    IntelliJ does a lot of code parsing, and that can take times in a dynamic view (network access), as opposed to a snapshot view (local disk access).

    See "What are the differences between a snapshot view and a dynamic view?".