-
Notifications
You must be signed in to change notification settings - Fork 244
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
Show enum values on hover #941
Comments
Digging through the code, it looks like there is some logic to show enums yaml-language-server/src/languageservice/services/yamlHover.ts Lines 124 to 137 in ed03cbf
But:
What do y'all think about changing the behavior so that:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your enhancement related to a problem? Please describe.
I maintain a JSON Schema document for a YAML config file. That document has a number of ENUMs, and when my users hover over those fields they see the title and description from the schema, but not the allowed values.
The values are shown on autocomplete, but that's much less discoverable that having it displayed on hover w/ the other documentation.
Describe the solution you would like
I would like to see enum options shown underneath the description on hover - much like how
example
values are displayed:The text was updated successfully, but these errors were encountered: