Fork me on GitHub
#cursive
<
2022-07-30
>
Joe R. Smith15:07:52

Is it possible to get cursive to resolve method names using the java interop .. macro? e.g.:

2
imre15:07:23

there should be at least one related issue at https://git.io/cursive-issues - feel free to upvote them

1
Joe R. Smith16:07:56

I did not find one that matched, but I opened a new one 🙂 https://github.com/cursive-ide/cursive/issues/2720

imre17:07:31

could be related

imre15:07:54

Is there a way to configure indentation for a symbol to be absolute zero? Example in thread.

imre15:07:29

(my-macro

(+ 1 1)

)

imre15:07:53

So to not indent the args of the macro at all

cfleming22:07:02

Hmm, I don’t think there is, sorry. There are no forms like that at the moment, even comment gets indented (although I can see why you might not want it to be).

imre22:07:14

should I open an issue?

cfleming07:08:20

Umm, sure, but no guarantees on that one, I’ll have to think about it.

imre08:08:07

https://github.com/cgrand/macrovich has a few macros that could utilise this

imre08:08:29

I'll open one later today for your consideration

cfleming08:08:53

Yes, and I can see why you might want it for other top-level wrapping forms.

imre08:08:17

Top-level is probably an important phrase there, I don't see wanting to do this elsewhere. Or perhaps inside nested wrapping forms

imre10:08:18

I ended up finding an existing issue, from @U051KLSJF, obviously https://github.com/cursive-ide/cursive/issues/979