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

LSP: cleanup, refactoring, more idents #534

Merged
merged 2 commits into from
Jan 4, 2025
Merged

LSP: cleanup, refactoring, more idents #534

merged 2 commits into from
Jan 4, 2025

Conversation

kengorab
Copy link
Owner

@kengorab kengorab commented Jan 3, 2025

Adds ident support (hover, goto definition) for enum variants and methods/fields. I also refactored some stuff to make it a bit more organized since the existing LSP-specific logic was getting a little out of control. There's definitely more cleanup work to be done, but this is just a good first pass.

Adds ident support (hover, goto definition) for enum variants and
methods/fields. I also refactored some stuff to make it a bit more
organized since the existing LSP-specific logic was getting a little out
of control. There's definitely more cleanup work to be done, but this is
just a good first pass.
This also changes the Parser transformation for `Ok` and `Err` as match
cases to use `Position.bogus()` rather than the same position as the
other token.
@kengorab kengorab merged commit c4b117a into master Jan 4, 2025
1 check passed
@kengorab kengorab deleted the lsp-cleanup branch January 4, 2025 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant