Fork me on GitHub
#cursive
<
2016-05-27
>
colorvisa05:05:31

Hi, just wonder how can i access to a namespace fast in cursive? Does it have something like search for namespace?

cfleming05:05:59

@colorvisa: Yes, Navigate-&gt;Namespace

cfleming05:05:15

No worries!

rauh08:05:40

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.

cfleming10:05:07

@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.

cfleming10:05:35

But it will definitely be helpful that it will hopefully become ubiquitous that macro authors define grammars for their macros.

cfleming10:05:11

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.

rauh10:05:27

Sound good. Def. something for the future.

rauh10:05:22

Different question: When will "Quick documentation" work with things like datomic.api?

cap10morgan18:05:23

@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?