cursive

Issues at: https://git.io/cursive-issues
Henry 2020-11-19T11:29:01.251900Z

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.

cfleming 2020-11-25T00:13:41.275400Z

@michael819 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?

cfleming 2020-11-25T00:15:12.275600Z

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

Henry 2020-11-19T11:53:32.252Z

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

AJ Jaro 2020-11-19T12:08:46.252400Z

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

Henry 2020-11-19T14:43:47.252600Z

@ajarosinski 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. @cfleming 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 W 2020-11-19T14:52:23.252800Z

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 W 2020-11-19T14:53:10.253Z

I changed the layout on disk and made it simpler.

cfleming 2020-11-19T20:42:46.253600Z

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.