This is fixed in the next build. Rather than using @pez's solution, which was somewhat tricky for boring internal reasons, the move forward/backward action just delegates to the standard IntelliJ one when invoked within a string or comment (https://github.com/cursive-ide/cursive/issues/2097)
1🤘1🎉Sorry for asking this here, it is IDEA specific and the same command that switches tab in any IDEA window. So, I have a hot key to switch focus to REPL window, then another hotkey to switch tab, hotkey to jump back to editor. Case closed.
Oh! Thank you for pointing this out — I’ll look into the lein-v plug-in to learn more about that.
does anyone have an IntelliJ code style file that basically implements this? https://guide.clojure.style/ having a hard time making the formatting match what is outlined there
at a minimum, I had to enable Default to Only Indent
, but I still haven’t figure out how to accomplish the https://guide.clojure.style/#one-space-indent part
I could be misunderstanding things, but it seems necessary to have Default to Only Indent
checked in order to have the basic defn
spacing work properly (i.e. one indent for the body, on a newline after the param list declaration). This can even be seen directly in the built-in example snippet to the right.
Ex:
It would be nice if we can have a choice of which repl when sending forms.
and evaluating such forms will automatically switch to the repl to show the results.
I don’t think you want Default to Only Indent for matching the guide. But you probably do want One space list indent
.
If there’s something else that you’re finding difficult, let me know.