Skip to content

✨ feat(playground): add hover provider using mq.hover API#1663

Merged
harehare merged 4 commits intomainfrom
feat/playground-hover
Apr 30, 2026
Merged

✨ feat(playground): add hover provider using mq.hover API#1663
harehare merged 4 commits intomainfrom
feat/playground-hover

Conversation

@harehare
Copy link
Copy Markdown
Owner

Register Monaco hover provider for the mq language that calls mq.hover() to show symbol documentation on cursor hover.

Also switch mq-web dependency to local file reference for development against the new hover API.

@harehare harehare force-pushed the feat/web-hover branch 4 times, most recently from 956bf31 to b39e22e Compare April 30, 2026 11:25
Base automatically changed from feat/web-hover to main April 30, 2026 12:26
- Export `Doc` type from mq-hir public API
- Extract `is_deprecated_marker`, `extract_deprecated_message`, and
  `format_hover_content` helpers for reuse
- Render deprecated symbols with a blockquote (⚠️ **Deprecated**) and
  filter the raw deprecated line from the doc body
- Add unit tests for all helper functions
Register Monaco hover provider for the mq language that calls
mq.hover() to show symbol documentation on cursor hover.

Also switch mq-web dependency to local file reference for
development against the new hover API.
@harehare harehare force-pushed the feat/playground-hover branch from d91b50c to 8ba68c9 Compare April 30, 2026 13:25
@harehare harehare marked this pull request as ready for review April 30, 2026 13:25
@harehare harehare merged commit 1f46751 into main Apr 30, 2026
4 checks passed
@harehare harehare deleted the feat/playground-hover branch April 30, 2026 13:42
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.

1 participant