Fork me on GitHub
#cursive
<
2016-03-04
>
rauh09:03:58

So many defXYZ my-var ... don't get recognized that they define a var. For instance if I use mount.core/defstate. I'd suggest allowing a little popup over any top level defXYZ statements that woule tell Cursive that this defines a var. Thoughts?

cfleming09:03:55

@rauh: Yes, I’m planning exactly that - not in the next release, but probably the following one.

cfleming09:03:20

I’m making some changes to move the definitive API solution along too, I’m hoping that will be within a couple of months.

cfleming09:03:15

The interim solution will also allow “this form works like let” and perhaps for and ->/`->>` too

rauh09:03:51

@cfleming: Awesome! Will that also allow me to pull up docs from a dynamically created var?

cfleming09:03:15

Assuming that it uses a docstring right after the name symbol, yes

rauh09:03:27

For instance, carmine slurps in a gigantig JSON file with all the Redis commands and defines tons of defn's with it. I don't get any docs from Cursive 😞

rauh09:03:43

Ok, different problem then.

cfleming09:03:03

So that’s a different story. There’s another solution in the works for that, which is also required for Datomic (since it doesn’t ship with source).

rauh09:03:31

Ok great, I see you're already a few steps ahead of me. simple_smile

cfleming09:03:37

There you’ll be able to specify namespaces that should be introspected, those will generate stubs which will then be indexed as normal.

cfleming09:03:27

That’ll be useful for libs which are so complex that there’s no way I can add support for them like Midje & Overtone

cfleming09:03:57

And things like Carmine.

rauh09:03:06

perfect, can't wait for these features.

cfleming09:03:23

Yeah, all this is the biggest missing feature I think.

cfleming09:03:01

This is all very tricky with IntelliJ’s indexes, which weren’t really designed for this sort of thing.

cfleming09:03:10

So fingers crossed, it should all work simple_smile

snowell16:03:04

Can somebody develop a structural editing plugin for Webstorm? I’m being forced to write JS and severely missing the raise function 😄

imre16:03:17

aaah the pain when you have to go back to coding in a non-lisp

imre16:03:36

had that with c# and VS, I feel your struggle

snowell16:03:38

The struggle is real