Fork me on GitHub
#cursive
<
2016-09-06
>
onetom01:09:35

when i look for the usages of a symbol with cmd-alt-f7 i only see the filename part of the location of occurances

onetom01:09:11

it's often useless because the filenames might be the same, eg core.clj

onetom01:09:32

is there an option to affect this, like we can set the tab titles to show namespaces?

onetom01:09:30

in my very specific case for example i have app.docs and app.profile.docs just showing docs.clj and no context around the occurrence is not very helpful

onetom01:09:15

or should i just press alt-f7 to switch to the detailed view if the short version is ambiguous?

lfn302:09:10

Oh wow. Didn’t even know there was a short version.

lfn302:09:01

I’ve always just used the long form one. Thanks, and sorry I can’t help apart from - yeah, just use alt-f7.

cfleming07:09:03

@onetom That’s a good question, I don’t know - I’ll try to figure that out.

cfleming07:09:17

Actually, could you file an issue for that one so it doesn’t get lost?

rauh09:09:59

@onetom There is an option "Group by package" that should do what you want? Or maybe I misunderstand the problem...

rauh09:09:19

It's in the "Find usage" window

onetom12:09:26

@rauh The action Cmd-Alt-F7 is bound to is called "Show Usages". It's a small floating window which appears next to the cursor. It only shows filenames but no path next to each matching line. The Alt-F7 is bound to the "Find Usages" action. That does have the grouping functionality at the cost of stealing the focus and opening a docked window which obscures too much screen estate usually.

rauh12:09:53

@onetom Oh I see, never used "Find Usages". Now I see the problem. 🙂

onetom12:09:02

on a bigger screen it's really distracting when u have to refocus your eyes to the bottom of the screen so i mostly using the concise version of the lookup

shaun-mahood14:09:00

Has anyone got a nice workflow for renaming an entire project using Cursive (or otherwise)?

pseud18:09:56

Hey - I'm getting pretty annoyed with cursive and it's run configurations. Is there not a way to simply achieve some equivalent of "lein figwheel" or "lein cljsbuild auto" ? Why is the support for lein so extremely poor ?

pseud18:09:58

Except it breaks checkout dependencies ... 😞

pseud18:09:33

Ugh, I just want to code, not mess with stupid things like this ... 😞

cfleming19:09:21

@pseud What’s the problem with checkout dependencies?

shaun-mahood21:09:16

@cfleming: not sure if it's an actual problem or not, but in the figwheel wiki above it claims that running the repl as it mentions will break checkout dependencies. The documentation is pretty out of date though and it needs some work, so it may just be a problem with the wiki entry not keeping up with improvements to figwheel / cursive.

cfleming22:09:26

@shaun-mahood No, I think it is a problem - it’s because the REPL script isn’t run with the full Leiningen classpath, so it’s not aware of the classpath dependencies.

danielcompton23:09:38

When I use checkouts with figwheel (not through Cursive, just in general), I add checkouts/mylib/src to the :source-paths for my cljsbuild config

gpetukhov23:09:36

@cfleming: hi Colin, what is the best way to debug clojurescript?

danielcompton23:09:58

@gpetukhov my opinion would be dirac and cljs-devtools

gpetukhov23:09:00

@danielcompton: i found that too but setting up Dirac is so complex so thought maybe there are other ways..

danielcompton23:09:20

it’s worth the effort