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

Add eldoc support for Racket macros #209

Open
vkz opened this issue Apr 4, 2016 · 1 comment
Open

Add eldoc support for Racket macros #209

vkz opened this issue Apr 4, 2016 · 1 comment

Comments

@vkz
Copy link
Contributor

vkz commented Apr 4, 2016

Would be nice to have eldoc show something helpful when it comes to Racket macros. Probably impossible in general maybe there're some reasonable cases that we could cover.

Example:

(assert 'bla)
;; should show (assert arg) hint of some kind in the minibuffer
@greghendershott
Copy link
Owner

My quick reaction is that the difficulty in getting anything useful would vary dramatically based on how the macro is defined:

  • syntax-rules: "trivial" / "helpful"
  • syntax-case: "impossible" / "often useless"
  • syntax-parse: "hard" / "possibly helpful"

In general I find eldoc of limited value for Racket. Partly that's because so much of Racket is syntax, i.e. this issue you filed. :) But not entirely. Having said that, I'd be delighted to take a pull request that improves this.

greghendershott referenced this issue Mar 22, 2017
As opposed to racket-eldoc-function.

By volume, most of this commit is documentation explaining why.

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

No branches or pull requests

2 participants