This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-31
Channels
- # announcements (2)
- # beginners (208)
- # boot (4)
- # calva (5)
- # cider (3)
- # clojars (3)
- # clojure (59)
- # clojure-dev (27)
- # clojure-india (2)
- # clojure-spec (46)
- # clojure-uk (3)
- # clojuredesign-podcast (4)
- # clojurescript (11)
- # cursive (10)
- # emacs (2)
- # figwheel-main (3)
- # off-topic (73)
- # onyx (1)
- # re-frame (8)
- # reagent (3)
- # rewrite-clj (12)
- # shadow-cljs (29)
- # spacemacs (1)
- # tools-deps (19)
is there a shortcut key for showing the diff window for a test failiure?
since it's not printed anywhere i keep have to hover and quickly aim the Show difference...
link in the popping up bubble
it's not very productive 😕
i would rather see the error messages in the repl window, instead of just the test run summary
the diff of course can't be shown that intelligently as the IDEs diff window, so i wouldn't expect that in the REPL output, but at least there should be a key shortcut for it.
btw, im using cmd-f1 for showing the error popup, so it's not really convenient to reach for the mouse afterwards, just to show the diffs too
@onetom There isn’t, but you’re right, there should be. The easiest way to show the diff is to click on the gutter icon on the left, but you’re right, it needs a key.
i haven't realized that icon is clickable. that's already one action less, so it helps, thanks! it's easy to misclick it though and place a breakpoint instead, accidentally.
I've just checked and it's even documented on https://cursive-ide.com/userguide/testing.html I should be more thorough reading docs!
Not sure what would be a good shortcut for it. Cmd-D is the default in other tool windows for showing diff, but in the editor it's duplicate line or selection, which is quite important. At least I use it all the time... Cmd-D — Duplicate Line or Selection Cmd-Shift-D — Smart Search Documentation in Dash Cmd-Opt-D — [macOS] Show/Hide Dock Cmd-Ctrl-D — [macOS] Dictionary Lookup I guess Cmd-Shift-D is a good candidate, since it's only taken when the Dash plugin is installed. Shall I make a github issue about this or no point?
Perhaps it could be an intention - “Show diff for error”, only available when actually on an error marker.
The fewer magic keys I have to remember the better 🙂