Skip to content

Support deprecationMessage keyword in hover and completions - #98

Open
Suyog241005 wants to merge 1 commit into
hyperjump-io:mainfrom
Suyog241005:support-deprecation-message
Open

Support deprecationMessage keyword in hover and completions#98
Suyog241005 wants to merge 1 commit into
hyperjump-io:mainfrom
Suyog241005:support-deprecation-message

Conversation

@Suyog241005

Copy link
Copy Markdown
Contributor

Fixes #97

Summary

Implements support for VS Code's custom deprecationMessage schema keyword across hover tooltips and property autocompletion.

Changes

  • Hover.ts: Displays ⚠️ **Deprecated:** <message> when hovering over deprecated properties.
  • CompletionEvaluationPlugin.ts: Captures unknown#deprecationMessage from the schema AST and preserves it through combinators.
  • PropertyCompletion.ts: Marks deprecated properties with CompletionItemTag.Deprecated and includes the message in documentation.
  • Hover.test.ts & PropertyCompletion.test.ts: Added automated test coverage for hover and completion behavior.

Screenshot

Screenshot 2026-09-09 at 2 42 20 PM Screenshot 2026-09-09 at 2 50 15 PM

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.

Support deprecationMessage custom keyword

1 participant