This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-17
Channels
- # announcements (17)
- # aws (2)
- # babashka (21)
- # beginners (67)
- # calva (19)
- # cider (29)
- # clara (3)
- # clj-kondo (6)
- # cljsrn (10)
- # clojure (140)
- # clojure-europe (164)
- # clojure-nl (3)
- # clojure-uk (8)
- # clojurescript (62)
- # conjure (7)
- # core-async (24)
- # cursive (21)
- # datomic (5)
- # docker (40)
- # emacs (14)
- # fulcro (25)
- # gratitude (1)
- # honeysql (6)
- # introduce-yourself (1)
- # jobs (1)
- # jobs-discuss (32)
- # juxt (7)
- # lsp (13)
- # minecraft (2)
- # off-topic (49)
- # pathom (24)
- # practicalli (8)
- # re-frame (18)
- # react (23)
- # remote-jobs (6)
- # reveal (2)
- # shadow-cljs (75)
- # tools-deps (7)
Noob question: Been learning Emacs (Prelude) alongside Clojure. I have more experience with other editors but enjoying Emacs. However, in VS Code for example, when you sit you cursor on a function/method it will display things like definition and what types of arguments it takes. Or when suggesting autocomplete options it will know all possible functions from an imported library, not just the things you have already used in the currently open file. Does Emacs do these sorts of things too?
Like @U7S5E44DB said it's possible, e.g. this is what it looks like for me
For core functions there's also cider-clojuredocs, which opens the function's clojuredocs page on a separate buffer! (I'm not a huge fan of pop-ups)
Cider will understand your functions when they are evaluated in a running REPL, then Cider will show docs and arguments, etc LSP runs a process to continually analyse the project source code, providing many IDE style functions and information. So you can use Cider by itself, or add Clojure LSP to complement
There are a number of videos of Emacs in action at https://practical.li/spacemacs/
ahh I see. Doesn't look like Prelude has clojure-lsp already. The Prelude docs mentions it as a Cider alternative but says you can use alongside it as well
CIDER (or what have you) with https://company-mode.github.io/ is such a nice experience