This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-06
Channels
- # babashka (40)
- # beginners (14)
- # calva (3)
- # cider (7)
- # clerk (40)
- # clj-kondo (8)
- # cljfx (3)
- # clojure (79)
- # clojure-berlin (1)
- # clojure-denver (14)
- # clojure-europe (30)
- # clojure-nl (6)
- # clojure-norway (21)
- # clojure-uk (4)
- # clojurescript (10)
- # conjure (4)
- # data-science (13)
- # emacs (21)
- # events (8)
- # hoplon (7)
- # hyperfiddle (25)
- # lsp (11)
- # matrix (1)
- # off-topic (110)
- # pathom (11)
- # pedestal (7)
- # reagent (13)
- # reitit (16)
- # ring (10)
- # shadow-cljs (6)
- # timbre (3)
- # vim (8)
- # wasm (3)
I'd like to try to make a custom minimalist-dark theme that is optimized for Clojure. Has anyone done this before and can point me to the source code examples for what I need to do? I've read the VSCode docs about the basics but I was missing some big picture concept about how actual Clojure is parsed and mapped to the underlying vscode primitives
There is an inspector in VS Code that probably is useful for this. Developer: Inspect Editor Tokens and Scopes. It will show you the Textmate Scopes that Calva assigns to things. Maybe the tests for this is the best place to look for this: https://github.com/BetterThanTomorrow/calva/blob/published/src/calva-fmt/atom-language-clojure/spec/clojure-spec.coffee#L1 The inspector will also show you semantic tokens, which clojure-lsp assigns as a result of its (or clj-kondo’s) analysis.
those tests are excellent, thank you