Expand description
Wire methods: clipboard operations via nativeHost:*Clipboard*.
Backed by arboard for cross-platform text clipboard access.
Binary clipboard (readClipboardBuffer, writeClipboardBuffer) returns
empty/null - binary clipboard is rarely used by VS Code core.
Functions§
- Native
HasClipboard - Native
Read Clipboard Buffer - Native
Read Clipboard Find Text - macOS has a separate find pasteboard; reuse the general clipboard for parity with VS Code on Linux/Windows.
- Native
Read Clipboard Text - Native
Read Image - Read an image from the clipboard. Binary clipboard is not yet implemented - return an empty array so callers get a safe fallback.
- Native
Trigger Paste - Trigger a paste operation. On Tauri 2.x there is no direct
pasteAPI; return false so callers fall through to the OS’s native paste shortcut. - Native
Write Clipboard Buffer - Native
Write Clipboard Find Text - Native
Write Clipboard Text