Fork me on GitHub
#cursive
<
2020-11-19
>
Henry11:11:01

It is strange that the "find usages" action work for some files but not for others. Wonder if anyone has experienced the same and know why or how to fix it? Thank you.

Henry11:11:32

FYI, I was going through fulcro-rad-tutorial when the issue occurred. https://github.com/fulcrologic/fulcro-rad-tutorial

AJ Jaro12:11:46

@UVDMR4Y75 I have this trouble a bit, but I think my experiences are with CLJC and CLJS mappings

Henry14:11:47

@UGMAVSMUM Thanks for sharing. I spent more time digging around and can confirm that the issue only exists in CLJC files and only pertains to the find usages and navigation actions of the namespaces inside (:require ...). A temporary solution I found: for CLJC files, put all required namespaces inside of reader conditionals (#? or #?@) and the actions should work properly. @U0567Q30W Would like to share this finding. Not sure why this happen this way, but hopefully there could be a better fix. Thanks a lot for creating such an amazing tool.

Michael W14:11:23

I have problems with that rad demo too, because the files on disk don't match the 'normal' layout for namespaces it confuses the IDE.

Michael W14:11:10

I changed the layout on disk and made it simpler.

cfleming20:11:46

Interesting, I’ll take a look at that. I’m surprised by that since Tony and the others that I know of who work on Fulcro all use Cursive.

cfleming00:11:41

@UAB2NMK25 I just took a look at this project. When you talk about the layout, do you mean the dev directory which isn’t added as a source root?

cfleming00:11:12

If so, that’s added as in the dev alias (`:extra-paths` in the deps.edn), so you need to tell Cursive to use that alias when syncing: https://cursive-ide.com/userguide/deps.html#working-with-aliases