This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-06
Channels
- # admin-announcements (10)
- # alda (78)
- # arachne (33)
- # bangalore-clj (2)
- # beginners (11)
- # boot (70)
- # chestnut (8)
- # cljsjs (5)
- # cljsrn (4)
- # clojure (212)
- # clojure-art (1)
- # clojure-berlin (1)
- # clojure-brasil (27)
- # clojure-canada (6)
- # clojure-colombia (12)
- # clojure-dev (6)
- # clojure-greece (29)
- # clojure-hk (2)
- # clojure-italy (7)
- # clojure-russia (51)
- # clojure-spec (12)
- # clojure-uk (18)
- # clojurescript (115)
- # clojurex (8)
- # component (1)
- # crypto (41)
- # css (5)
- # cursive (31)
- # datomic (17)
- # defnpodcast (7)
- # emacs (9)
- # flambo (1)
- # funcool (4)
- # juxt (29)
- # off-topic (1)
- # om (122)
- # onyx (12)
- # pedestal (1)
- # planck (10)
- # portland-or (1)
- # re-frame (30)
- # reagent (4)
- # rum (3)
- # slack-help (2)
- # specter (20)
- # sql (3)
when i look for the usages of a symbol with cmd-alt-f7 i only see the filename part of the location of occurances
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
or should i just press alt-f7 to switch to the detailed view if the short version is ambiguous?
I’ve always just used the long form one. Thanks, and sorry I can’t help apart from - yeah, just use alt-f7
.
@onetom There is an option "Group by package" that should do what you want? Or maybe I misunderstand the problem...
@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.
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
Has anyone got a nice workflow for renaming an entire project using Cursive (or otherwise)?
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 ?
https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL works like a charm
@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.
@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.
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
@gpetukhov my opinion would be dirac and cljs-devtools
@danielcompton: i found that too but setting up Dirac is so complex so thought maybe there are other ways..
it’s worth the effort