Refactoring: Introduce variable is slow in 10.0.2

It's taking several seconds for Idea to introduce a variable (ctrl-alt-v) in the new build.  Anyone else seeing this behavior?

4 comments
Comment actions Permalink

Similar Problem here with 10.5.1. When I'm working on a project with around 30 modules, introducing a variable or renaming one takes up to two minutes. CPU goes to 100%. Funny thing is, the slowdown happens even when refactoring local variables, in which case Idea should only look for namespace collisions and occurences in the local scope.

Right now I can't use either refactoring out of fear of having a two minute freeze. I hope somebody has a look at this issue.

0
Comment actions Permalink

Just created issue IDEA-72272 for this.

0
Comment actions Permalink

Adrian, what about Ctrl+Alt+F7 in your case? Does it slowdown idea? I suspect this action in performance issues.

regards, Alex

0
Comment actions Permalink

Ctrl-Alt-F7 actually behaves properly. If you follow the issue I created, there is a fruitful discussion going on which already pointed me towards the culprit: the La Clojure plugin. It causes these slowdowns simply by being active, even though the project has no Clojure code nor the facet. Deactivating the plugin made the refactorings fast again.

0

Please sign in to leave a comment.