Файли
Pedro Pessoa 56796fb2c6 feat(plugins): let plugins show inlay hints in any language (#1937)
A new optional inlay-hints-provider export (worlds plugin-inlay-hints / inlay-hints), declared as the inlay-hints provider kind for any language (API 1.3). The host asks the language server and the plugins together for the visible range and returns both in position order; with no server hints the plugins' hints still show. Kinds map to the Inlay Hints settings; labels, tooltips and counts are capped.

Co-authored-by: yzPeedro <[email protected]>
2026-11-07 19:25:10 +08:00

292 B

Inlay hints test fixture

After every ->name() call in a PHP document that declares function name(): Type, shows : Type as a type hint.

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