This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-09
Channels
- # aws (3)
- # beginners (61)
- # boot (1)
- # cider (80)
- # clara (5)
- # cljs-dev (5)
- # cljsrn (19)
- # clojure (40)
- # clojure-dev (29)
- # clojure-dusseldorf (2)
- # clojure-greece (21)
- # clojure-italy (16)
- # clojure-russia (7)
- # clojure-spec (31)
- # clojure-uk (70)
- # clojurescript (31)
- # cursive (21)
- # data-science (5)
- # emacs (7)
- # fulcro (23)
- # graphql (4)
- # java (18)
- # jobs (1)
- # jobs-discuss (25)
- # juxt (14)
- # nrepl (2)
- # off-topic (18)
- # om-next (2)
- # onyx (3)
- # re-frame (16)
- # reagent (50)
- # ring-swagger (5)
- # shadow-cljs (70)
- # specter (5)
- # sql (24)
- # tools-deps (16)
- # vim (41)
@cfleming many thanks for the replies. Definitely looking forward to test integration support for cljs. And generally, Intellij really has some great features there around diffing and idividual test report that could be very nice to have
@cfleming have you used the SQL integration in Intellij to execute SQL snippets against a database? Intellij has this great feature where it highlights the snippets (with a border box) showing you wake you would execute
Would be very cool to have in a clojure editor.. to integrate the repl more tightly with the editor pane
@cfleming check out this video https://youtu.be/Xb9K8IAdZNg starting at 3:40
It's one if my favorite features of SQL editing in Intellij. And I think it would translate very well to clojure too
I see, interesting, thanks. One issue I see with that is that it’s possible to choose the form to execute in several ways (top-level form, form before the caret, selection) - this could only highlight one of them.
There’s a related issue which I can’t search for right now about highlighting the sexp under the caret.
@cfleming my use case was to repeat something I evaluated long time ago, don't want to go all the way back manually
@joelsanchez Do you know about Tools->REPL->Search REPL History? You can narrow down there by typing.
@cfleming of course there had to be a way :) thanks
@cfleming I agree with your observation, the feature as implemented wouldn't work exactly for clojure. But the bounding box highlight that is very very handy for seeing nested expressions. One thing you don't see in the video is that when you press the key to execute a statement,if it's nested, a small I mention pop-up offers you the nested options starting from closest to the top level
That said, I was really wishing for this feature in cursive before I found the "execute top level expression under cursor" keybind
Anyways, thought you'd be interested to see an example if the Intellij editor being more interactive
Any news on strucurual editing and ideavim? Ref https://github.com/cursive-ide/cursive/issues/1249
@ramblurr Don't know if this would help you. But a little while ago I made a template for nodejs / aws lambda that includes instructions for a working cursive cljs repl.
The repo is here. https://github.com/lloydshark/aws-clojurescript-lambda
@lloydshark Thanks for the link. I've managed now to get a cursive cljs repl with node.
Just not the clojure.test integration, which according to @cfleming isn't implemented yet
Yeah I didn't try that.