Changes to Calva that I remembered to log.
- Add support for shadow-cljs. Please contact me with any information on how this is working for you out there.
- Change all keyboard shortcuts to use prefix
ctrl+alt+v
, due to old prefix not working on some alterate keybpard layouts. See Issue #9.
- Add command for re-running previously failing tests (
ctrl+alt+v ctrl+t
).
- Add command for toggling automatic adjustment of indentation for new lines (
ctrl+alt+v tab
)
- Auto adjust indent more close to this Clojure Style Guide: https://github.com/bbatsov/clojure-style-guide
- Select current (auto-detected) form
- Terminal REPLs
- Integrates REPL sessions from the Terminal tab and lets you do stuff like load current namespace ad evaluate code from the editor in the REPL.
- Connection and reconnection stabilization
- Conecting the editor REPLs was a bit unstable. Now more stable (but there are still some quirks).
- Auto detection of forms to evaluate now condiders reader macro characters prepending the forms. E.g. before if you tried to evaluate say
#{:a :b :c}
with the cursor placed directly adjacent to the starting or ending curly braces only{:a :b :c}
would be autodetected and evaluated. - Highlighting of auto detected forms being evaluated.
- Rendering evaluation errors in the editor the same way as successful (but in red to quickly indicate that the evaluation errored).
- Evaluates vectors and maps with the same ”smart” selection as for lists.
- Add inline annotations for interactive code evaluation results.
- Add toggle for switching which repl connection is used for
cljc
files,clj
orcljs
.
clj
repl connected to all file types, meaning you can evaluate clojure code in, say, Markdown files.
- User setting to evaluate namespace on save/open file (defaults to on)
- Relase of v1, based on visual:clojure v2.0, adding:
- Running tests through the REPL connection, and mark them in the Problems tab
- Run namespace tests:
ctrl+alt+v t
- Run all tests:
ctrl+alt+v a
- Run namespace tests:
- Evaluate code and replace it in the editor, inline:
ctrl+alt+v e
- Error message when evaluation fails
- Pretty printing evaluation resuls:
ctrl+alt+v p
- Support for
cljc
files (this was supposed to be supported by the original extension, but bug)
- Running tests through the REPL connection, and mark them in the Problems tab