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

use langrefs keyword reference to provide hover for keywords #2062

Open
xdBronch opened this issue Oct 25, 2024 · 2 comments
Open

use langrefs keyword reference to provide hover for keywords #2062

xdBronch opened this issue Oct 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@xdBronch
Copy link
Contributor

https://ziglang.org/documentation/master/#Keyword-Reference
same idea as how zls currently uses the langref for docs on builtin functions
example from rust-analyzer
image

@xdBronch xdBronch added the enhancement New feature or request label Oct 25, 2024
@Techatrix
Copy link
Member

Related issue #1174

I though about using the keyword reference but there were some TODOs and descriptions that didn't add much value:

struct defines a struct.

WHAT?!? struct defines a struct! Who would have though?

@xdBronch
Copy link
Contributor Author

lol yeah thats fair but i think a few have at least some value. hopefull theyll be expanded on later

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

No branches or pull requests

2 participants