This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-15
Channels
- # admin-announcements (60)
- # adventofcode (37)
- # beginners (53)
- # boot (94)
- # bristol-clojurians (1)
- # cider (21)
- # clara (19)
- # cljsrn (1)
- # clojure (222)
- # clojure-chicago (1)
- # clojure-dev (2)
- # clojure-nl (11)
- # clojure-russia (301)
- # clojure-turkiye (1)
- # clojurecup (6)
- # clojurescript (30)
- # core-async (3)
- # cursive (64)
- # datascript (2)
- # datomic (55)
- # devops (16)
- # editors (1)
- # emacs (16)
- # ldnclj (6)
- # off-topic (18)
- # om (113)
- # onyx (3)
- # parinfer (1)
- # proton (48)
- # re-frame (20)
- # reagent (7)
@rantingbob: you need to use the shortcut
@cjmurphy: regarding this one https://clojurians.slack.com/archives/general/p1450167976001842 (“delete” key), it breaks parens balance, right? So both parens need to be removed separately?
I suspect it is wrong headed to be in such a situation, but it happens often for me. A video of seeing someone edit as they are supposed to would help us.
yeah, I learn most of the Cursive “incantations” by watching some videos of people playing with it, sadly there is not much of it around
But I suspect it would not be nearly as impressive as the same edits being done in emacs
It should become better over the next few years. My current fav winge is with Cntl Backspace
.
Emacs… will learn how to use it properly one day, but jumping into both Clojure and Emacs at the same time is just asking for troubles I guess
I never will. Maybe some vim editor, but most likely stick with Cursive, because those others will never give you proper IDE context that is higher level than just text, that I am so used to from Java.
True, I do Scala on daily basis (coming for Java in the past) and just yesterday I had to add some java stuff to clojure project (it was easier to code stuff using lib I had to use in java: builders, factories etc.). With IntelliJ + Cursive I just have all things in one place, no matter if I work on java/scala/js/clojure file at the moment.
Alt S
gives me polish language-specific character Ś
😄, but will try - thanks for hint @jaen
Hmm - that didn't work either, got from: http://kamituel.tumblr.com/post/82370141336/intellij-shortcuts-including-cursive
What's worse, none of the default keybindings work on windows with a different keyboard layout (I use neo). I never took the time to define my own except for the surroundings
@mostr: Well, right alt also gives me ś (gotta love Polish keyboard layout, I can easily write things like ß™®©–ðþ with just my alt, Window's not as nice), I was talking about left alt.
I suppose, but splice should do what you want, that is remove both parens from around the current form, without unbalancing.
Hm, but splice only deletes the parens. Would be nice if something deleted the whole expression
@cjmurphy @jaen looks like Raise is the command we look for (well… the name might have suggested it) to delete redundant parens pair. David has just dropped this hint on #C03RZGPG1. Now I need to discover “practical” differences in usages of Splice/Raise
Yeah, I've noticed. Splice is a bit like *
(splat) in Ruby, or ~@
(unquote splice) in Clojure macros - it explodes the form into the surrounding form.
(comp
(a "c" :d) ; cursor before this form
(b 2 3))
with splice will result in
comp
(a "c" :d)
(b 2 3)
but with raise it will result in
(a "c" :d)
@cfleming: Just a ping to let you know that if you resent my license key I still haven't received the email. Unless it was the "RUSSIAN beauties looking for love!" one with the blinking hearts.
@meow: Don't judge, @cfleming was merely declaring his undying love 😛
Seriously, I haven't looked in my spam folder in forever so I was surprised to see so many blinking gifs - does that work?
In my experience after a brief period of initial infatuation, the love fades into a sort of humdrum comfortability
Kibit uses core.logic rules, they might be similar to Cursive’s PEG?
Anyone here using Cursive with ClojureScript? Would appreciate any help on how to start Node.js REPL in Cursive.
@dmi3y: There’s no built-in REPL for CLJS right now. In general, I think the current best practice is to use a quickstart-type REPL using the clojure.main REPL type.
@dmi3y: Have you looked at https://github.com/clojure/clojurescript/wiki/Quick-Start?
@cfleming: yup, I can do this, thought there’s a way to connect to it from Cursive since it exposes a port.
apparently, there’s https://github.com/cemerick/piggieback, which should serve as a bridge between nREPL and ClojureScript REPL