Theia API Documentation v1.65.0
    Preparing search index...

    The CodePartRenderer offers to contribute arbitrary React nodes to the rendered code part. Technically anything can be rendered, however it is intended to be used for actions, like "Copy to Clipboard" or "Insert at Cursor".

    interface ChangeSetActionRenderer {
        id: string;
        onDidChange?: Event<void>;
        priority?: number;
        canRender?(changeSet: ChangeSet): boolean;
        render(changeSet: ChangeSet): ReactNode;
    }

    Implemented by

    Index

    Properties

    id: string
    onDidChange?: Event<void>
    priority?: number

    Actions are ordered by descending priority. (Highest on left).

    Methods