This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-21
Channels
- # announcements (39)
- # architecture (7)
- # aws (9)
- # babashka (111)
- # beginners (139)
- # bristol-clojurians (1)
- # calva (47)
- # chlorine-clover (5)
- # cider (17)
- # clj-kondo (26)
- # clojars (25)
- # clojure (251)
- # clojure-berlin (1)
- # clojure-dev (5)
- # clojure-europe (22)
- # clojure-france (1)
- # clojure-hungary (6)
- # clojure-losangeles (8)
- # clojure-nl (18)
- # clojure-spec (3)
- # clojure-uk (68)
- # clojured (32)
- # clojurescript (32)
- # core-async (10)
- # core-typed (120)
- # cursive (8)
- # datascript (10)
- # datomic (11)
- # docker (2)
- # emacs (6)
- # figwheel-main (4)
- # fulcro (10)
- # graalvm (92)
- # hoplon (2)
- # instaparse (9)
- # jobs (3)
- # jobs-discuss (31)
- # joker (2)
- # kaocha (1)
- # lambdaisland (5)
- # leiningen (10)
- # luminus (1)
- # lumo (14)
- # meander (30)
- # mid-cities-meetup (1)
- # midje (1)
- # off-topic (46)
- # pathom (22)
- # perun (2)
- # re-frame (10)
- # reitit (1)
- # remote-jobs (8)
- # shadow-cljs (71)
- # spacemacs (7)
- # sql (40)
- # tools-deps (31)
- # tree-sitter (11)
- # vim (14)
- # vscode (2)
- # xtdb (5)
Dear Calva friends: I've pulled in the changes to the comments/ignores/paren highlighting to the dev
branch now. I've reached a point where I can't find any more issues myself, so please help me test it by either building the dev branch yourselves and running with that, or install this VSIX package in VS Code (from the Extensions pane meatballs menu): https://3971-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.77-dev-2a1fc8bb.vsix
installing as my default, will let you know if I see weird stuff
highlight is not correctly handling anonymous functions and sets
I have a let that now looks like this
highlighting got messed up after placed the cursor at the beginning of end
and inserted enter+ start ()
The highlight of ignored sets and anon fns is an existing bug in the parser that gets exposed now that the highlighting uses the same parser. This is a wild, wild experiment with the parser, but it seems to fix the problem w/o causing new problems. Can you give it a spin? https://3981-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.77-wip-fix-highlight-ignores-149064eb.vsix
Can't repro the let box madness here. If you can try shrink your repro down, that would help a lot. (And give me the text 😃 )
can confirm that highlight is handling anonymous functions correctly, cheers!
will keep a look out for let box madness and try to distill a repro
Now third most used Clojure dev environment! That's crazy and amazing. Thanks to all of you and your spreading the word!
I'm not surprised 🙂 it works really well and has this "works out of box" experience. It behaves quite good even on Windows where shell is a source of a friction.
is there a way to change the default comment from ;
to ;;
?
I'm not very aware of the significance of ;;
, it seems some editors pick up on it and do things
and it also seems like a lot of code snippets I see online use ;;
there might be a deeper meaning there I'm not aware of
in the codebase I'm on right now, colleagues use another editor and I'd like to match their comment style to reduce friction
no, for a single one
I have this line
(log/debugf "listening on link")
I place my cursor on it and press ctrl+/, it is commented like so
; (log/debugf "listening on link")
I assumed it was calva, but maybe it's just vscode that knows the comment character
I was looking at that
there's actually a Preferences: configure language specific settings
command
running it takes me to the preferences json file with the language setting inserted
"[clojure]": {
}
but unfortunately comments doesn't seem to be overridable
unsure if this means that it can't be overriden overall (even by extensions)
It's probably overridable in language config. Otherwise we can make our own command easy peasy.
open an issue about it
seems there's a convention around ;
for inline comments and ;;
for standalone comments
and then also ;;;
and ;;;;
so uhm
that's a lot of different comment formats with different meanings
Name: Calva: Clojure & ClojureScript Interactive Programming Id: betterthantomorrow.calva Description: Integrated REPL, formatter, Paredit, and more. Powered by nREPL. Version: 2.0.77-wip-token-cursor-rainbow-b9b020ba Publisher: Better Than Tomorrow VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva