Skip to content

feat: expose default value in hover - #325

Open
Rafał Chłodnicki (rchl) wants to merge 3 commits into
microsoft:mainfrom
rchl:feat/default-value
Open

feat: expose default value in hover#325
Rafał Chłodnicki (rchl) wants to merge 3 commits into
microsoft:mainfrom
rchl:feat/default-value

Conversation

@rchl

@rchl Rafał Chłodnicki (rchl) commented May 23, 2026

Copy link
Copy Markdown

I don't know if you are interested in such a feature and it's fine if not but I thought I'll try to upstream it instead of just having a local patch.

Screenshot 2026-05-23 at 14 43 22 Screenshot 2026-05-23 at 14 46 32

@sirreal

Copy link
Copy Markdown

examples has the same gap:

{ "a": { "type": "string", "description": "D", "default": "dflt", "examples": ["ex1"] } }

Hovering "a" gives ["D"]. Both annotations are dropped, even though completion at the value position already proposes them ("dflt" with detail: "Default value", "ex1" with none).

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