This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (34)
- # aws (1)
- # beginners (99)
- # boot (19)
- # calva (26)
- # cider (24)
- # cljdoc (8)
- # cljs-dev (29)
- # clojure (107)
- # clojure-dev (3)
- # clojure-europe (12)
- # clojure-finland (1)
- # clojure-italy (24)
- # clojure-nl (5)
- # clojure-spec (13)
- # clojure-sweden (3)
- # clojure-uk (36)
- # clojurescript (4)
- # community-development (14)
- # cursive (3)
- # data-science (6)
- # datascript (57)
- # figwheel-main (3)
- # fulcro (9)
- # graalvm (11)
- # hoplon (18)
- # jobs (1)
- # jobs-discuss (2)
- # joker (10)
- # leiningen (13)
- # off-topic (23)
- # other-languages (1)
- # pathom (24)
- # pedestal (5)
- # re-frame (6)
- # reagent (45)
- # reitit (3)
- # rewrite-clj (1)
- # spacemacs (2)
- # sql (23)
- # tools-deps (6)
- # vim (5)
I am using the production calva-dev and I noticed that I am unable to use vim mode - if I remember correctly it worked before - I start in normal mode and can switch to insert mode but I can not switch back with esc Anybody else have this —
Let me know if that wiki page helps you, @. We probably should add a check for vim mode in Calva.
Thanks that helped I had to change to change the Calva inline setting since my fingers are wed to escape with vim — works fine now
Glad to hear! Yeah, I still sprinkle my files with
A and such even since it was many years since I used
vi, so know what you mean!
Dear channel. I need some help with prioritizing the issues with Calva 2. You can pick up the latest build here: https://github.com/BetterThanTomorrow/calva/tree/dev/alpha-build Please give it a few spins on your projects and let me know if you stumble across stuff. I have tried to mark all Calva 2-related issues on Github with the prefix
[2.0] so if you file new issues, please follow that pattern. But, as I said, right now it is much a matter of prioritizing. I need to get Calva 2 out, and need help identifying the most important things to fix.
Hi! I have a strange issue, I configure new environment VSCode + Calva and when I start REPL and execute some function it works but when I change that function and run it one more time - the REPL doesn't see that it was changed. Do any one know why it could happen?
Easiest way is to use the Evaluate top level form command. Place your cursor in somewhere in the function and run that command. (You can either find it in the command palette, or use the keyboard shortcut:
It works, thank you. Is there exist "automatic" way to re evaluate functions after changes?
I don't recall right now... But there might be a setting for re-evaluating the file on save. Not sure I recommend it, though. It is often good to control what is re-evaluated yourself.
I'm new to clojure world and it seems strange to me but I will follow the best practices:)
I'm not an expert, but for me it works best to evaluate on-command. There is a command to evaluate the file as well, which I always start with after having opened a new file. After that, I re-evaluate stuff I change. Also, I don't work very much at the repl prompt. I evaluate stuff in the editor and put stuff inside
(comment ...) forms to execute my functions. The top-level commands work in there as well.
How can I execute auto formater from VSCode? Is the auto formater use this guide: https://github.com/bbatsov/clojure-style-guide ?
You should have Calva Format installed together with Calva, I think. It formats stuff automatically for you, mostly according to that guide. Also the vscode commands for formatting the document will use that formatter. And further the
tab key will re-format the surrounding form from where your cursor is.
I wanted people who use something other than Calva for their REPL to also have a formatter. (But it will be all in one with the next version of Calva because reasons.)
Is it possible to write VSCode plugins in that way that you can disable some functions of it? If yes I think that it is a good direction to make all-in package.
@tomek423 I haven’t looked into this course, but it might be worth looking into if you’re new to Clojure https://purelyfunctional.tv/courses/repl-driven-development-in-clojure/
(I mention this because you say you’re new to Clojure, and in my experience, “getting” RDD is a big part of getting Clojure)
@slipset Thank you. I looked at some videos on http://pureFunctiona.tv about Clojure data structures and there are very good. But I don't see anything about repl-driven development. I definitely have to.