Changes to Calva.
- Add commands for interrupting the current evaluation as well as all running evaluations
- Calva asks for user input when
stdin
needs it (e.g.read-line
) - Command for clearing the REPL history reworked and now also ”restarts” the REPL window.
- Commands are now added to REPL window history only if they are not identical to the previous command on the history stack.
- Fix floating promises in evelauation module
- REPL Window Evaluation errors now initially hide the stack trace. The user can show it with a click.
- Fix hang when user input is requested
- Upgrade to
cider-nrepl 0.22.4
- Add info box for VIM Extension users
- Fix undefined namespace when starting a shadow-cljs cljs REPL Window
- Make opening the REPL window on connect async
- Fix shadow-cljs menuSelections for Custom Connect Sequences
- Toggle the "Use WSL" setting requires extension restart to effect definition provider
- Go to Definition and Peek Definition not working on Windows 10 when using WSL
- Highlight extension settings are uninitialized if no closure editor active on activation
- Overly aggressive paredit in REPL window
- REPL window use it own set of paredit hotkeys and these are not configurable
- Completion in REPL window should work like in the editor
- Move user documentation from the wiki to: https://calva.readthedocs.io/
- Fix bugs in comment form selection
- Use of undeclared var in REPL window resets the namespace
- Remove warning that extensions use the
vscode-resource:
scheme directly
- Support Jack-in without file open for single-rooted workspace
- Show argument list of fn
- Make code more robust in case Jack-in task fails
- Fix dimming out of stacked ignored forms
- The extension should specify the default schemes for document selectors
- Connect warnings and errors as popups
- Don't remove default indents when Calva is not the auto-formatter
- Insourcing @tonsky's Clojure Warrior, now named Calva Highlight
- Update status bar when configuration changed
- Adding selected calva commands to the editors context menu
- Fix bug with painting all existing result decoration with the same status
- Fix bug with reporting errors using off-by-one line and column numbers
- Add pretty print mode
- Add command for evaluating top level form as comment
- Stop writing results from Evaluate to Comment to output pane
- Add command for connecting to a non-project REPL
- Add hover to inline result display, containing the full results
- Better inline evaluation error reports with file context
- Enhancement REPL window handling / nREPL menu button
- Print async output, and a setting for where it should go
- Fix REPL window prompt does not always reflect current ns
- Escape HTML in stdout and stderr in REPL window
- Add content security policy to webview and remove image load error
- Support connecting to Leiningen and CLI project using shadow-cljs watcher
- Fix Figwheel Main deps added to non-cljs projects
- Fix REPL Window namespace being reset to user
- Update nrepl-version to 0.22.1
- More accurate code completion lookups.
- Keep focus in editor when evaluating to the REPL Window.
- Support for starting leiningen and clj projects with aliases.
- Support Jack-in and Connect in multi-project workspaces.
- Fix bug with snippet field navigation not working.
- nREPL status bar indicator can now be styled
- Fix jack-in command quoting for
zsh
.
- Jack in quoting fixes, mainly for Windows with
clojure/clj
. - Fix formatting bug when forms not separated by whitespace.
- Add command for running test under cursor (at point in CIDER lingo).
- Add ParEdit
forwardUpSexp
.
- Improve custom CLJS REPL.
... huge gap in the Changelog. Sorry about that, but now we have decided to pick up maintaining this log again.
- 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 alternate keyboard 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
- Connecting the editor REPLs was a bit unstable. Now more stable (but there are still some quirks).
- Auto detection of forms to evaluate now considers 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 auto detected 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)
- Release 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 results:
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