Fork me on GitHub
#cursive
<
2021-04-14
>
wilkerlucio18:04:07

hello, I’m having a strange issue, on the latest cursive and intellij, trying to do a rename, but the IDE is stuck at “Looking for usages”, its been like that for many minutes now

emacs 2
wilkerlucio18:04:04

When I do a regular Find Usages on the same keyword, I got some partial results, and the search never ends

wilkerlucio18:04:56

with other keywords it works fine, seems like the name name is part of the problem

Jeff Evans19:04:04

it’s my observation that the rename refactoring is paranoid/finds too many references, especially for “common” names like that

Jeff Evans19:04:18

not just in Cursive, but even in the built-in Java world

wilkerlucio19:04:58

yup, small names are horror for refactorings 😛

wilkerlucio19:04:12

but even when it takes long, it eventually finishes

wilkerlucio19:04:34

in this case, it seems to always get stuck at the same place, I guess there is some bug, something broke there, and then it got stuck =/

jacekschae19:04:50

if you didn’t already try to exclude some folders, this help me with the same thing you are experiencing

wilkerlucio19:04:00

all compiled things are excluded, I also trying doing a find usages limiting the scope (I made a custom scope and ensure I only had clj sources), but still the same result

wilkerlucio19:04:32

(its around 30 min running now, and not finishing)

cfleming21:04:03

@U066U8JQJ What are you trying to rename? A symbol/keyword/something else?

cfleming21:04:51

Could you take a thread dump and mail it to me? https://intellij-support.jetbrains.com/hc/en-us/articles/206544899. I suspect it will show “somewhere in the bowels of IntelliJ” but you never know.