cursive

Issues at: https://git.io/cursive-issues
wilkerlucio 2021-04-14T18:49:07.203600Z

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

1
wilkerlucio 2021-04-15T14:04:23.210Z

@cfleming sent

wilkerlucio 2021-04-14T18:56:04.204800Z

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

wilkerlucio 2021-04-14T18:56:56.205200Z

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

2021-04-14T19:06:04.205800Z

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

2021-04-14T19:06:18.206Z

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

wilkerlucio 2021-04-14T19:06:58.206200Z

yup, small names are horror for refactorings 😛

wilkerlucio 2021-04-14T19:07:12.206400Z

but even when it takes long, it eventually finishes

wilkerlucio 2021-04-14T19:07:34.206600Z

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 =/

jacekschae 2021-04-14T19:23:50.206800Z

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

wilkerlucio 2021-04-14T19:26:00.207Z

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

wilkerlucio 2021-04-14T19:26:32.207200Z

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

cfleming 2021-04-14T21:03:03.209500Z

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

cfleming 2021-04-14T21:09:51.209700Z

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.