there is salvation for vim users https://github.com/Deraen/vim-cider
👏
@cfleming: I saw someone using cursive to run tests after changes where made to the source code but could not find any further info. Ideas?
@denik: The test integration is described here: https://cursiveclojure.com/userguide/testing.html, although it’s a little out of date
@cfleming: saw that! no auto-test runner though
@denik: There’s nothing like auto-test right now unfortunately
using cursive doesn't preclude running https://github.com/jakemcc/lein-test-refresh in the terminal window in the editor though :simple_smile:
@cfleming: okay thanks for clarifying. I’m sure this is far down the pipeline, but are you planning/is it possible to show test failure/success icons next to the functions they were testing? Visual studio does that.
@denik: Are you talking about NCrunch?
@voxdolo: thanks, that’s what I’ve been using. These days that’s the only thing that brings me to the command line during development
@cfleming: yes!
@voxdolo that works pretty well I find and has saved my back when my REPL has gotten a bit confused.
@denik: Yeah, NCrunch is awesome - I’d love to do something like that in Cursive, I’ve actually been looking into that recently. I’m in contact with both the NCrunch developer and the wallaby.js one.
@denik you'll have to pry my command line from my cold, dead hands 😉 I do see an upside of an autotest runner that could be integrated into Cursive's diffing though.
@denik: It’s probably a pretty serious piece of work, but I would love to have that myself
@cfleming: it would be a gamechanger
I'm mostly editing in emacs these days, but I still run to Cursive for diffing and I keep lein test-refresh
running in a terminal regardless.
@denik: I agree.
since lighttable is just a clojurescript application, I should be able to open up a clojurescript repl inside of lighttable to live edit lighttable right?
thanks @voxdolo :simple_smile:
Question for any Emacs/Spacemacs+smartparens users: how do you handle wrapping an element in []
or {}
?
In Vim+paredit it’s as simple as <leader>w[
or <leader>w{
It’s pretty much the same. I select a word/words and then hit s]
or }
or whatever.
(sp-pair "[" "]" :wrap "M-[")
(sp-pair "{" "}" :wrap "M-{")
akiva: so that’s using spacemacs’ version of vim-surround, right?
Exactly.
hmm…I guess that could probably work most of the time 😕
still not quite as convenient since you need to either highlight or include a motion command
smoke853: ah, I didn’t realize sp-pair
worked like that…interesting