This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-15
Channels
- # aws-lambda (6)
- # beginners (8)
- # cider (12)
- # cljs-dev (12)
- # cljsrn (9)
- # clojars (2)
- # clojure (161)
- # clojure-berlin (9)
- # clojure-italy (10)
- # clojure-russia (18)
- # clojure-spec (20)
- # clojure-uk (18)
- # clojurescript (37)
- # cursive (13)
- # data-science (1)
- # datomic (23)
- # flambo (2)
- # hoplon (22)
- # immutant (11)
- # jobs (1)
- # klipse (11)
- # leiningen (5)
- # liberator (7)
- # luminus (5)
- # lumo (3)
- # off-topic (28)
- # om (8)
- # onyx (15)
- # parinfer (111)
- # pedestal (21)
- # re-frame (6)
- # reagent (38)
- # rum (4)
- # spacemacs (2)
- # specter (34)
- # unrepl (122)
- # untangled (3)
- # vim (1)
- # yada (8)
Yes, it's usually M-.
and the command is called cider-find-var
- see https://cider.readthedocs.io/en/latest/interactive_programming/. In spacemacs it's also aliased as spacemacs/jump-to-definition
and it's bound to , g g
in evil mode
note these require an active repl session to work. they are not textual in emacs but hits the repl itself
i usually use gd
(evil mode) and for me the code needs to be loaded into the repl for it to work (for clojure anyway)
benny: have you loaded your forms into the repl? (`SPC m s b` sends the buffer to the repl)
then put your cursor on a symbol that you want to see the source of. Pressing M-.
should give the prompt at the bottom along with the symbol under your cursor (called thing at point in emacs parlance)
You can jump straight to the current symbol under point (cursor) by using the prefix argument key binding C-u
i.e. C-u M-.
and you can jump back to where you came from with M-,