cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Keyword search is missing keywords

Open wilkerlucio opened this issue 3 years ago • 1 comments

Hello, I've noticed this problem from time to time, I use the keyword search to find a keyword that I'm sure is part of the project, but Cursive can't find it in the keyword search dialog.

Screen Shot 2021-02-09 at 15 44 11

You can see the keyword in the text, Cursive can't find it.

Some facts I noticed that may be relevant

  • >def is configured to behave like clojure.spec.alpha/def
  • if I cmd+click in this keyword, it tracks usages correctly
  • if I cmd+click in this keyword somewhere else, it navigates to the definition as expected
  • this keyword only appears in cljs files

Please let me know if there is more information I can provide, being able to find keywords from search is quite important on my workflow, would be great to have it working its full potential!

wilkerlucio avatar Feb 09 '21 18:02 wilkerlucio

Cursive seems to only search for keywords in cljs files when the search begins in a cljs context. I cannot reproduce this now, but I have seen it in the past and I am now fixing a bug that might stem from this issue. This might lead to problems with refactors between clj, cljc and cljs too.

KaliszAd avatar Jul 11 '22 16:07 KaliszAd