This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-25
Channels
- # announcements (22)
- # babashka (9)
- # beginners (33)
- # biff (12)
- # calva (17)
- # cider (64)
- # cljdoc (3)
- # cljfx (16)
- # clojure (125)
- # clojure-bay-area (14)
- # clojure-europe (15)
- # clojure-norway (64)
- # clojure-uk (2)
- # clojurescript (7)
- # conjure (1)
- # core-async (4)
- # cursive (6)
- # data-science (14)
- # datahike (8)
- # datomic (6)
- # defnpodcast (4)
- # emacs (5)
- # events (1)
- # hyperfiddle (15)
- # leiningen (17)
- # lsp (8)
- # membrane (27)
- # off-topic (25)
- # podcasts-discuss (4)
- # polylith (6)
- # portal (21)
- # reagent (11)
- # releases (1)
- # shadow-cljs (36)
- # slack-help (2)
- # sql (1)
- # squint (131)
- # testing (12)
- # xtdb (7)
I found a bug and I think Calva is to blame.
On a new line in a .clj
with Calva enabled type
aaa bbb
then go to the start of the line and type "
and you get ""
.
Try this same thing in any other language file and you just get "
(as expected).
Turn off calva for the .clj
file and you just get "
.
@pez I think I brought this up a while ago and you said that's just what vscode does, but after testing I think you might be wrong.
I'm hitting this all the time. It makes me want to have a hot key to disable Calva for a while for certain types of editing
I don't think that matters. I tried this with .clj
.pl
.py
.sh
.mk
and only .clj
with calva types ""
when you type a "
next to an existing word.
can you explain why?
if I type "
on a blank line in any of those files I get ""
which is fine
wouldn't this be auto-closing quotes setting?
they are both set to languageDefined
(default)
All this time I have been meaning auto-closing quotes, when I have written auto-closing brackets. 😃 Anyway, it gets important what the language definitions are.
Where do I set that for Calva?
Couldn't find it
See here: https://calva.io/customizing/#clojure-defaults (Could be outdated defaults listed on that page, but you will see the current defaults when you edit your settings.)