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 more types of hovers to LSP #3486

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Add more types of hovers to LSP #3486

merged 1 commit into from
Nov 21, 2024

Conversation

mcy
Copy link
Member

@mcy mcy commented Nov 20, 2024

This PR adds three new hoverable things in the LSP:

  1. You can hover over the path of an import to show the contents of that file.

  2. You can hover over the tag of a field to show its varint encoding.

  3. You can hover over the number of an enum value to show its varint encoding and hex/bin values.

Example of varint encoding hovers:
Screenshot 2024-11-20 at 1 53 29 PM

@mcy mcy requested a review from doriable November 20, 2024 21:57
Copy link
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedNov 20, 2024, 9:57 PM

@mcy mcy merged commit 5c43a09 into main Nov 21, 2024
13 checks passed
@mcy mcy deleted the mcy/tag-hover2 branch November 21, 2024 17:58
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

Successfully merging this pull request may close these issues.

2 participants