This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-05
Channels
- # beginners (29)
- # boot (29)
- # cider (54)
- # cljs-dev (99)
- # cljsjs (31)
- # cljsrn (39)
- # clojars (32)
- # clojure (171)
- # clojure-austin (2)
- # clojure-berlin (5)
- # clojure-brasil (3)
- # clojure-greece (2)
- # clojure-italy (1)
- # clojure-korea (11)
- # clojure-spec (202)
- # clojure-uk (166)
- # clojurescript (130)
- # cursive (54)
- # datomic (99)
- # dirac (18)
- # figwheel (6)
- # hoplon (23)
- # lambdaisland (3)
- # leiningen (8)
- # luminus (14)
- # off-topic (11)
- # om (3)
- # om-next (24)
- # onyx (59)
- # planck (25)
- # protorepl (10)
- # re-frame (49)
- # reagent (14)
- # ring-swagger (2)
- # rum (46)
- # schema (1)
- # slack-help (6)
- # specter (7)
- # testing (7)
- # untangled (115)
- # yada (1)
I am seeing really good completion on namespaces, vars, etc., in regular editors, but not in the REPL input editor. There, completion options seem to be limited to java packages, classes, etc., but not java methods (e.g. (Math/|
doesn't yield any suggestions, but it does in a regular editor).
@cemerick clj or cljs?
I just tried on my local machine and I get autocomplete options for (Math/
in the JVM repl
(I was going to try the figwheel repl, but that’s commandline not IDE duh)
the easiest thing I know of for the converse is to hit the shortcut for tool window you use rarely twice
so alt-2 alt-2 will jump from anywhere to the favorites tab, then close it and return you to the last editor you were in
https://youtrack.jetbrains.com/issue/IDEA-116865 is the most relevant issue I think
this must be the underlying principle behind dismissing those modal-while-focused windows
it'd be great if "go to REPL editor" could bounce you to the complimentary location tho @cfleming
by happy coincidence, I usually keep editor and repl on the same sides of the screen as the esc and f12 keys
@cemerick @favila @rauh There was a fair amount of discussion about this when I implemented the “Jump to…” commands - the choices are basically have one command cycle (so where the cursor ends up is relative to where you are now) or absolute “Jump to here” commands. I ended up with absolute because it means you can always jump to e.g. the REPL without having to hunt around to figure out where the caret is.
It also works better with the IntelliJ rule that ESC always takes you back to the editor from any toolwindow (which sucks for IdeaVim users, sadly)
And it works better with the fact that users also want to go to the REPL output pane to cut and paste output, but not often enough for it to make sense as a permanent part of the cycle command.
@cfleming for the record, I am completely satisfied by the ESC and F12 pair, I just didn't know about them
likewise, last time I tried this (on linux, if that matters), esc back to the editor didn't work
I'm assuming that's more an IntelliJ thing rather than a Cursive thing, but I thought I'd check.
@cemerick That’s very strange, the ESC thing is a cast-iron IntelliJ rule. I assume ESC works elsewhere?
cfleming Yeah. Now that I think of it, may have been the ideavim conflict in action. This was months ago.