Fork me on GitHub
#cider
<
2016-06-14
>
richiardiandrea01:06:32

@bvulpes: I don't use that myself but now cider has very good docs! http://cider.readthedocs.io/en/latest/debugging/

benedek08:06:08

And your clojure version?

jpmonettas19:06:46

Hi! is there a way to disable stacktrace buffer generation? clojure.spec ex messages are big when I'm working with deeply nested datastructures and takes forever to gen that buffer

jpmonettas19:06:10

non of the cider-stacktrace group customizations helped me with that issue

richiardiandrea21:06:56

maybe I asked here this thing already, but is there a way to completely disable indentation inside a specific form? for instance

(rf/trace-views
;; no indentation please
(defn some-component []
  [:div
   [:h3 "I am a component!"]
   [:p.someclass
    "I have " [:strong "bold"]
    [:span {:style {:color "red"}} " and red"]
    " text."]])

...many views

)

bvulpes21:06:45

turn off paredit

bvulpes21:06:48

lay down code

bvulpes21:06:52

turn paredit back on

richiardiandrea21:06:47

yes that would definitely work 🙂 I use aggressive-indent-mode and that is why it would be better for me to have a "programmatic" way

bvulpes21:06:16

i'm just being snarky, i really have no idea.

bvulpes22:06:29

holy shishkadoodle

bvulpes22:06:48

i just typed (d/q in a new ns and cljr auto-imported [datomic.api :as d]

bvulpes22:06:53

i am both awed and terrified

hrathod23:06:07

richiardiandrea: may be try to see if define-clojure-indent settings can help?

richiardiandrea23:06:25

yes I was checking exactly that some time ago, but could not avoid having it (default indent is like a defun, I could not find "don't indent")

hrathod23:06:35

Yeah, I played around with it right now, and even giving it indent of 0 or negative value doesn't adjust it properly. Sorry.

hrathod23:06:55

apparently I should have read a bit more. Those values are not indentation at all. D'oh!