An extension template for VSCode in pure cljs.
Builds using shadow-cljs
.
I want to see better/more VSCode extensions for Clojure(Script). And I don't want to write JS/TypeScript for that.
You need shadow-cljs installed.
> shadow-cljs compile extension
[...]
[:extension] Build completed. (14 files, 4 compiled, 0 warnings, 11.84s)
To start the extension just run (VSCode needs to be installed):
> code .
and run the extension (the template registers a hello world info message that you can execute with ctrl+shift+p
, Hello World
).
And yes, you can access the clojure reader for formatting/linting etc. Yeah!