Fork me on GitHub
#cursive
<
2020-06-11
>
dpsutton04:06:14

would it be possible for cmd-\ to take you to the repl input buffer and the same shortcut take you back to the previous buffer when in the repl input?

cfleming10:06:36

IntelliJ has had a strict UI rule for a long time that ESC goes back to the editor from any toolwindow. In recent versions (2019.3+ IIRC) that’s now configurable, but it’s that way by default.

👍 6
dpsutton04:06:32

seems to be no shortcut out of there

hlship17:06:25

So I just got called out in my team meeting because I've been converting test helper functions that call clojure.test/is into macros ... just so that Cursive labels the correct line with the failure. This has been noted previously as https://github.com/cursive-ide/cursive/issues/1945. This is something I would dearly like to see addressed.

tanzoniteblack18:06:08

as a note, this isn't just a cursive issue. the same thing happens with cider & calva :man-shrugging:

hlship18:06:41

This could partially be addressed by capturing the test name (from deftest) and additional context (from clojure.test/testing) when reporting the assertion failure.

hlship18:06:16

I just added https://github.com/cursive-ide/cursive/issues/2387 as one option to address 1945.