Файли
Pedro Pessoa 50567473f7 feat(plugins): let plugins add to the hover of any language (#1931)
Plugin API 1.3 gains an optional hover-provider export (worlds plugin-hover
and hover): hover(doc, at) returns Markdown and the range it describes. A
plugin declares the hover kind under [[contributes.providers]] for any
language; the host asks it with the language server, under the edit-path
budget, and shows the server's hover first and each plugin's below a rule.
Declaring the kind needs engines.openidea ^1.3. The Rust SDK gains
openidea_plugin::hover and register_plugin!(T, hover); every shipped
component is rebuilt for the WIT change.
2026-11-07 15:29:16 +08:00

303 B

Hover test fixture

Over a name the PHP document declares as function <name>(, shows **<name>** · declared on line <n> for the name's range; nothing elsewhere.

Used by cargo test -p ide-host --test plugin_hover to exercise the optional hover-provider export. It is not a marketplace plugin.