This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-11
Channels
- # announcements (21)
- # aws (2)
- # babashka (20)
- # beginners (47)
- # bristol-clojurians (2)
- # calva (63)
- # cider (24)
- # clj-kondo (22)
- # cljs-dev (3)
- # cljsrn (6)
- # clojars (3)
- # clojure (147)
- # clojure-europe (21)
- # clojure-france (2)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (2)
- # clojure-uk (70)
- # clojurescript (37)
- # core-logic (6)
- # cursive (4)
- # data-science (2)
- # datomic (99)
- # events (1)
- # figwheel-main (20)
- # fulcro (26)
- # graalvm (6)
- # graphql (5)
- # kaocha (8)
- # leiningen (20)
- # meander (22)
- # nrepl (4)
- # off-topic (27)
- # pathom (5)
- # pedestal (3)
- # re-frame (20)
- # reagent (4)
- # shadow-cljs (43)
- # spacemacs (11)
- # tools-deps (55)
- # tree-sitter (6)
- # vim (8)
- # xtdb (18)
- # yada (14)
Hi I recently started using using Calva for clojure. Its fantastic. I wanted to know if there is a way (shortcut) to get back to the previous commands in repl ?
Welcome, @akash.chakresh, and thanks!
Do you mean the REPL Window? Then the alt+up
should work if you have multiline keybindings. Otherwise just up
.
Also note that if you instead of the REPL window use the editor for your REPL-ing, then you wouldn't have the problem to begin with. 😃
Not sure what that means... What I do is that I evaluate things in the editor, not at the REPL prompt. See https://calva.readthedocs.io/en/latest/try-first.html
Hi Peter. Thanks a lot. alt+up
worked. Where do I see all the shortcuts :thinking_face:
There is only one shortcut you need to remember, the one to bring up the Command Palette. From there type Calva and all Calva commands are visible, with their shortcuts. You can also check the Feature Contributions tab of the Calva extension (from the Extensions view). I wrote some about this here: https://calva.readthedocs.io/en/latest/finding-commands.html
New VSIX built for the soon to be released formatting configuration: https://4547-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.81-wip-cljfmt-config-f62db0d1.vsix Main difference is that now you can have the config file outside of the project directory. Might be useful for some, and not for others.
hey everyone! love the extension and being able to use VSCode + Clojure has really helped me focus on learning clojure and not learn some new tooling. on that note, i have had issues with the intellisense not kicking in…i am currently not at my personal laptop to debug but curious if anyone else has had issues with the intellisense before?
i have also noticed i cannot cmd+click a function to jump to that function…is that possible with calva?
Those problems usually mean you don't have the right dependencies loaded in the REPL server. So might come down to how you connect to Calva to the project. Can you describe?
what i usually do is boot up my vscode, go to the bottom left and connect vscode to the REPL (if im describing things correctly).
As described here: https://calva.readthedocs.io/en/latest/connect.html
let me try again tonight (i am in the usa) and make a screen capture of what i am encountering
When you Jack in, Calva should ask you for the project type. And it should see that it could be a Leiningen project and offer you that option.
hmmmm ok i usually follow the steps that are on the screen so perhaps i am doing that already
Post regardless. Hopefully someone will be in your TZ and can help if it still is not working.
Great. Is this similar to Emacs Cider’s formatting (https://github.com/bbatsov/clojure-style-guide#body-indentation) taking note of special forms and certain macros with body params? E.g.,
;; good
(when something
(something-else))
;; But also,
(defmacro my-own [& body]
(do ~@body))
(my-own 1
2
3)
Ah I see you can pass metadata param as well
(defmacro my-own
{:style/indent 1}
[& body]
(do ~@body))
(my-own 1
2)