mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
Plugins could write the clipboard but not read it. ui.read-clipboard() (SDK host::read_clipboard()) returns the text and a PNG image of the user's clipboard, behind a new clipboard.read capability. Only calls the user started can read: plugin commands and view actions run by the user, not event handlers, web view messages or commands chained through command-runner. The host never reads the clipboard itself: it asks the invoking window (ClipboardRequested / plugin_answer_clipboard), so remote development reads the client's clipboard, and a remote window asks the user first. Plugin API 1.11.0; components rebuilt. Closes #3524 Co-authored-by: bertyhell <1710840+bertyhell@users.noreply.github.com>
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.