This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-22
Channels
- # aws-lambda (2)
- # beginners (195)
- # boot (47)
- # capetown (14)
- # cljs-dev (7)
- # cljsjs (1)
- # cljsrn (1)
- # clojure (103)
- # clojure-berlin (28)
- # clojure-dev (92)
- # clojure-dusseldorf (3)
- # clojure-finland (2)
- # clojure-germany (3)
- # clojure-italy (4)
- # clojure-russia (37)
- # clojure-spec (104)
- # clojure-uk (52)
- # clojured (2)
- # clojurescript (124)
- # community-development (7)
- # core-async (6)
- # cursive (41)
- # datomic (53)
- # dirac (2)
- # emacs (16)
- # hoplon (5)
- # jobs (3)
- # juxt (12)
- # lein-figwheel (6)
- # leiningen (15)
- # luminus (3)
- # off-topic (49)
- # om (5)
- # onyx (13)
- # overtone (27)
- # re-frame (7)
- # reagent (46)
- # ring (3)
- # ring-swagger (11)
- # spacemacs (2)
- # specter (40)
- # sql (6)
- # untangled (149)
- # vim (14)
No more problems but can I just ask about the stubs generation? Is it a new thing, or was it always there and I never noticed it before. If the advantage to having stubs generation is marginal, can it be turned off?
@grav @timothypratley thanks for the inputs. glad to hear. I only do clj dev and have always been a backend dev. But cljs might just be the right vehicle for me to explore frontend dev.
Hey folks, I use Emacs (sorry!) and my colleague uses Cursive - works fine but there's a few differences in the way indentation works between the two that's a pain! Is there a way to get Cursive to use the same indentation style as Emacs and apply it automatically?
@U0N55HTD0 are you out there somewhere with an example of something that doesn't indent correctly
Spooky, I've just been playing with the clojure code style setting in cursive and think the "one space list indent" solves our problems for forms that are unknown to the editor. I can post the two differences shortly.
Here is some code before I made the "one space list indent": https://github.com/taffowl/dev-files/blob/master/before.png
Basically for each new custom form we would have to specify the indentation. After changing the option in the code styles it now behaves how I expect: https://github.com/taffowl/dev-files/blob/master/after.png
Apologies I'm not sure how to attach pictures in slack threaded mode.
Ok, so that’s not the one space list indent - that looks like “Default to Only Indent” to me, do you have that switched on?
Otherwise, if you have custom macro forms, you’ll have to specify those as Indent, correct.
Thanks for the hints @cfleming , we'll give them a try and see how we do! Don't think we use indenting metadata unless emacs/cursive does it for us
@cfleming: Can stubs generation be turned off? Is there doco I can read up on what it is all about?
https://groups.google.com/d/topic/cursive/ycMZAF29RZQ/discussion is probably the closest thing to doc
@doglooksgood Yeah, that’s ancient, from the original lein plugin.
@cfleming: No all is fine. Just would have been good to have turned it off for a while. Curious as much as anything.
@cfleming just get the mo from https://leiningen.org/
@cjmurphy Ok. I’m planning changes to make it less intrusive in this series of EAPs.
@cfleming FWIW, this has become very painful https://github.com/cursive-ide/cursive/issues/1426