This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-27
Channels
- # admin-announcements (1)
- # beginners (1)
- # boot (37)
- # cbus (1)
- # cider (44)
- # cljs-dev (16)
- # cljsjs (2)
- # cljsrn (18)
- # clojure (205)
- # clojure-belgium (6)
- # clojure-china (1)
- # clojure-india (1)
- # clojure-russia (24)
- # clojure-spec (21)
- # clojure-turkiye (1)
- # clojure-uk (72)
- # clojurescript (91)
- # core-async (4)
- # cursive (12)
- # data-science (2)
- # datascript (2)
- # datomic (12)
- # emacs (6)
- # flambo (7)
- # funcool (12)
- # hoplon (24)
- # incanter (2)
- # jobs-discuss (29)
- # keechma (2)
- # lein-figwheel (2)
- # leiningen (2)
- # mount (13)
- # nyc (2)
- # om (76)
- # om-next (1)
- # onyx (38)
- # other-languages (4)
- # planck (40)
- # re-frame (33)
- # reagent (101)
- # ring-swagger (5)
- # slack-help (1)
- # untangled (7)
- # yada (14)
Hi, just wonder how can i access to a namespace fast in cursive? Does it have something like search for namespace?
@colorvisa: Yes, Navigate->Namespace
Just and idea: Could Cursive inspect clojure.spec data for macros and then learn what macros do? For instance, we could spec the args of rum's defc
as first being a symbol that'll be defined, followed by some mixins that can be ignored by curisve and then followed by "function parameters" that cursive again understands, followed by code.
@rauh: Maybe, I’m still not sure. I probably can’t use spec internally for various reasons, but it will definitely help to be able to write a translator from spec to whatever I use internally. It may be possible to just provide a spec and say “these bits are local vars”, I’m not sure yet.
But it will definitely be helpful that it will hopefully become ubiquitous that macro authors define grammars for their macros.
There aren’t a lot of example macro grammars out there yet, when they’re out I’ll spend some time with them and see what can be done.
@cfleming: Out of curiosity, are you (still) planning to do a standalone distribution of Cursive at some point? And if so, would that come with a more opinionated set of Cursive-focused keybindings out of the box?