Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defstate not resolvable by Cursive in 0.1.13+ #102

Closed
cap10morgan opened this issue Nov 13, 2018 · 5 comments
Closed

defstate not resolvable by Cursive in 0.1.13+ #102

cap10morgan opened this issue Nov 13, 2018 · 5 comments

Comments

@cap10morgan
Copy link

It looks like wrapping the defstate macro in deftime has rendered it unresolvable to Cursive in mount 0.1.13+. Normally you can tell Cursive's static analysis tooling "treat this symbol like def" and if applied to something like mount's defstate, it will then understand that defstate foo defines a new symbol foo that other code can refer to. But that doesn't work for defstate anymore and seems related to this deftime wrapping.

@cap10morgan cap10morgan changed the title defstate not resolvable by Cursive in 0.1.13+ defstate not resolvable by Cursive in 0.1.13+ Nov 13, 2018
@tolitius
Copy link
Owner

hm.. I am a vi user, so not sure about Cursive. @arichiardi do you have an idea?

@arichiardi
Copy link
Contributor

I am an Emacs user but I have Cursive colleagues.

Nobody has complained as Cursive is usually having hard time with macros. Having said that I would ask directly @cursive-ide 😄

In theory achieving support for ClojureScript self-host could be achievable without macrovich or those macros but it got introduced because a "very quick win".

@cursive-ide
Copy link

Actually, I just added support for macrovich in cursive-ide/cursive#1847, so this should hopefully be resolved in the next Cursive EAP.

@mitchelkuijpers
Copy link

I can confirm it works in the current Cursive, so I think we can close this issue.

@cap10morgan
Copy link
Author

Yep, thanks for following up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants