This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-21
Channels
- # babashka (16)
- # beginners (182)
- # calva (13)
- # chlorine-clover (43)
- # clj-kondo (17)
- # cljs-dev (14)
- # cljsrn (19)
- # clojure (97)
- # clojure-argentina (7)
- # clojure-dev (45)
- # clojure-europe (7)
- # clojure-germany (5)
- # clojure-nl (4)
- # clojure-portugal (4)
- # clojure-romania (5)
- # clojure-spec (46)
- # clojure-uk (21)
- # clojuredesign-podcast (2)
- # clojurescript (159)
- # conjure (28)
- # core-async (7)
- # cursive (13)
- # datomic (17)
- # defnpodcast (9)
- # duct (1)
- # fulcro (45)
- # graphql (6)
- # jobs (7)
- # jobs-discuss (1)
- # juxt (3)
- # kaocha (4)
- # leiningen (12)
- # malli (5)
- # observability (1)
- # off-topic (50)
- # pathom (15)
- # re-frame (16)
- # reitit (5)
- # remote-jobs (21)
- # ring (7)
- # shadow-cljs (166)
- # test-check (6)
- # tools-deps (27)
- # xtdb (2)
I've got a little bugbear I'd like to get off my chest...
I eliminate code by commenting it out using #_
then I subsequently delete it using (my key binding for)
StructuralEditing - Kill Sexp
only...
that doesn't just kill the thing that I commented out
it also kills the first thing after it that is not commented out
that I want to keepIf Kill Sexp
considered a reader-macro comment to be worth killing on its own without the need to kill further
Then Cursive would be an even better tool
(imho, obvs)
Dunno, is that just me?
I’m not sure, no-one else has reported that. Let me think about the implications of considering a reader-macro a form.
perhaps I just need to pick up some better habits when identifying/stripping out used code though
I only use ^K, Structural Editing / Kill, since it also cares about the expression boundaries. I typically have 1 expression per line, so it works well. If I would want to just delete next form, I would Alt-Up, then Backspace / Delete or just start typing...
my leinigen tool is gone, and right-clicking project.clj files doesn’t show an “import project” option anymore. Halp?
nm, you can open the project.clj file itself and it will offer to “add project” at the top of the file