Fork me on GitHub
#cider
<
2018-05-12
>
arrdem04:05:30

Does CIDER have a code style guide for minutia like the ns form?

arrdem04:05:51

https://github.com/clojure-emacs/nREPL/pull/23 looks mostly good, but the ns styling is somewhat unusual.

arrdem04:05:11

then again I don’t always agree with what cljr-clean-ns generates so

arrdem04:05:37

(who owns that? Can we get that pulled in somehow? cider eat world)

arrdem04:05:02

Oh. Hey. It’s already on clojure-emacs I missed that.

bozhidar04:05:09

It’s more or less a fork of the abandoned slamhound that’s party of refactor-nrepl. That’s the type of functionality I think we should have straight in orchard, btw.

arrdem04:05:41

Yeah I largely agree with that, would also kinda like orchard to eat cljfmt and for it to be a lot more opinionated.

arrdem04:05:05

been thinking about how to use the clojure.spec specs for core to drive a formatter on and off for a while now

arrdem04:05:33

Eg. CIDER’s format specification language is honestly inadequate, as is cljfmt’s, you need something like spec which gives you full parse capabilities.

arrdem04:05:59

projects for after the work deadline

bozhidar05:05:22

> Eg. CIDER’s format specification language is honestly inadequate, as is cljfmt’s, you need something like spec which gives you full parse capabilities. Why so? I think cljfmt’s main problem is that it doesn’t do proper parsing, so there’s some potential for false positives. Overall I agree there’s always room for improvement. CIDER format spec and cljfmt improved vastly on the voidness that preceded them. 😄

bozhidar05:05:52

It’s a pity we never really ported the format spec to cljfmt. I prefer this way more to some global config file.

arrdem06:05:13

Oh absolutely 😉 just thinking we now have a full, agreed upon pattern language to hand and leveraging it would lead to some better understanding - eg the ability to specify how you want let binding forms indented no matter what macro they occur in because it’s just the same spec.

dominicm07:05:15

So, regarding the dynapath upgrade… did we try a require to https://github.com/tobias/dynapath/blob/master/src/dynapath/defaults.clj ?

dominicm07:05:46

I don't have java 9 on my system, and I'm a little scared to update 😛

willahhh15:05:49

Hi everybody, Is it possible to have completion on external required (nested) map ?

(ns myns.core
       (:require [myns.setting :as setting]))

(:■ (setting/setting-map))
(:■ (:default-params (setting/setting-map)))