VS Code API
    Preparing search index...

    Interface Clipboard

    The clipboard provides read and write access to the system's clipboard.

    interface Clipboard {
        readText(): Thenable<string>;
        writeText(value: string): Thenable<void>;
    }
    Index

    Methods

    • Writes text into the clipboard.

      Parameters

      • value: string

      Returns Thenable<void>

      A thenable that resolves when writing happened.