This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-24
Channels
- # 100-days-of-code (7)
- # announcements (1)
- # bangalore-clj (1)
- # beginners (87)
- # boot (6)
- # cljdoc (16)
- # cljsrn (13)
- # clojure (32)
- # clojure-dev (30)
- # clojure-italy (18)
- # clojure-nl (4)
- # clojure-serbia (1)
- # clojure-uk (48)
- # clojurescript (18)
- # cursive (18)
- # datascript (1)
- # datomic (7)
- # events (9)
- # figwheel-main (28)
- # fulcro (2)
- # hyperfiddle (2)
- # immutant (8)
- # jobs (16)
- # liberator (4)
- # nyc (2)
- # pedestal (15)
- # re-frame (8)
- # reagent (12)
- # reitit (8)
- # remote-jobs (1)
- # ring-swagger (2)
- # robots (1)
- # rum (1)
- # schema (1)
- # shadow-cljs (45)
- # spacemacs (49)
- # sql (13)
- # tools-deps (59)
- # uncomplicate (1)
- # vim (10)
Hi! I'm using schema.core/defmethod
, how can I customise Cursive to make it aware of the arguments scope like a regular defmethod
? (I see the Edit intention settings
but I'm not sure how to use it, and docs on the website don't mention it).
Actually, it isn't, since none of the built-in options is correct for this form.
But cursive
somehow understands the schema.core/defn
macro out of the box... so somehow, somewhere, it should be possible to customise.
@U1LCB75M2 That’s a tricky one, since the built in defmethod
won’t work for that. I’ll add support for that, I missed it when adding schema support.
@cfleming by the way, do you plan on exposing a way to customise those macros? I would be fine adding it myself if the plugin exposed some hook to do that.
@U1LCB75M2 Yes I do, but it’s a long term project due to some bad architectural choices made early on which are proving difficult to fix.
ok, hope you can find the time to do it!
Hi @cfleming By chance did you have any fortune recreating that evaluate issue with the versions I listed? The feature is a big time saver. I would be so grateful for help you could share.
@UCEKLQ24T I didn’t sorry but I’ll look at it before the next EAP. I’ve filed this so I don’t forget: https://github.com/cursive-ide/cursive/issues/2054
One thing to check - the symbol you’re trying to evaluate is actually instantiation-hash
, right? i.e. with a -
rather than a _
it is an underscore _ I use underscore in order to quickly discern variables from functions and I use underscores instead of hyphens out of scorn from bugs Id experienced earlier in the angular side of my career. I just checked another variable that doesn't involve an underscore and the same issue arises
Hi everyone, In my work environment, we use IntelliJ with Cursive to develop clojure microservices. Are you familiar with any good tutorials that exercise this IDE?
Pedestal has some decent getting started guides http://pedestal.io/guides/index#_getting_started