Fork me on GitHub

simple question, something that i don’t think used to happen and is just vaguely irritating - when i hit cmd-shift-R to start a repl, the “run” bar on the bottom of editor pops up every time, and i don’t want it to. this is in addition to the REPL pane, which pops up and is fine. do you folks know what i’m talking about? is there a way to make the run bar not pop up?


i do, I have no idea how to solve it.


aha - cmd-4


is what toggles it (on my machine), anyway


so now i can do that instead of having to click on the little hide icon manually, so at least that’s an improvement


@jrheard My process to start a REPL is Shift-F10 to run the default configuration which I've set up to be the REPL, then I have to click in the editor pane (because it loses focus), Ctrl-Alt-N to change namespace to the current file, Ctrl-Alt-L to load the file, then click back in the repl pane. [I don't remember which of those keystrokes were ones I bound, and which are by default]. It's a bit tedious. Is there a better way?


try pressing escape instead of clicking on the editor pane, i think escape focuses the editor (at least on my machine_


and again, on my machine, cmd-3 focuses the REPL pane, and toggles it if it’s focused


so hopefully those help for less clicking, although they don’t remove any of steps


i am not at all an expert though, so hopefully someone else has a better idea


@spieden It sounds like REPL commands might be what you want:


@puzzler Not that I’m aware of, no. However if you have an autocomplete popup up, ESC should not take you back to the editor.


@jrheard That’s annoying - I don’t see that. I only get the Run toolwindow opened when I debug the REPL, and that’s required since it’s where the debugger UI is.


hm, i don’t think i’m debugging


i’m able to mitigate it now that i’ve got a handy keyboard shortcut, so i’m not super upset, but if i can give you more information let me know 🙂


Could you look in the Run menu and see which command that is bound to? Looking in the default keymaps, Cmd-Shift-R is normally bound to run an Ant task.


Ok, so that’s bound to run the last config - you’re not debugging, then.


@cfleming: RTFM helped a lot -- thanks. after some experimentation I realise I'd overestimated the amount of reloading and restarting that needed to happen for my changes to appear. Re reading Stuart sierra's post helped a bit on the exceptions to var dynamism. Guess I'll just feel out my scenarios with the "try the small 🔨first then progressively larger ones" approach to resetting


Ok, cool - let me know if you have more questions - it’s a common workflow, so if there are ways to improve it I’m interested.


Seems like I shouldn't need tools.namespace for anything anyway


Ok will do


@cfleming How does one install 1.4.0-eap3? Cursive not showing up when I “Browse repositories” in 2016.3 EAP.


I've disabled resolution on a macro and I don't know how to enable it again. Before that it was set to resolve as def but it wasn't behaving like that, that's why I wanted to disable 1st and set again to behave like def


@onetom When you are disabling resolution, you are effectively unchecking a setting in the settings panel. To re-enable, go into settings and search on resolution and find the checkbox and recheck it. Then it will appear again as a pop-up on the symbol and you can set it to behave like def.


When a thread running in the REPL has an out-of-memory error, it brings all of Cursive to its knees. Is there any way to isolate this better, so that I can still interact with my program, edit things, save and exit safely?


@puzzler Hmm, Cursive should be isolated from the REPL process, I’m not sure why that would affect it. I’ll provoke an OOM and see if I can reproduce.


@puzzler thanks; found it under Editor / Intentions indeed


Recently there was a regression with my Cursive Test integration. Test Integration interactive running of clojure.test tests, with failures marked in the editor and visual diffs. I’ve lost failures marked in editor and visual diffs and the green test success flash message that fills my heart with joy. Is this a known regression? Any ideas on how I should debug? Intelij version

IntelliJ IDEA 2016.2.4
Build #IC-162.2032.8, built on September 9, 2016
JRE: 1.8.0_112-release-b343 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Cursive version
Version: 1.4.0-eap2-2016.2


I find typing in the REPL very slow/sluggish compared to editing files. Running latest EAP of cursive and intellij on linux with bundled jdk. Low mem usage in intellij. Have tried to invalidate caches. tips?


@ckarlsen: Can you type in a scratch file (or real files) and just send things to the REPL? I adopted it as my general workflow a few months ago and it's been pretty nice, and it would at least give you a workaround until someone can help you. No idea about the REPL issues unfortunately.


@shaun-mahood: that's what I do about 70% of the time 😉


@ckarlsen: Well then I'm no help at all 🙂


running the REPL as a 'normal JVM process' feels super responsive at least


the slowness might be the nature of nrepl?


Is it possible to send nrepl messages through cursive? Such as stuff in