Skip to main content

WorkspaceEditEntryMetadata

interface

Additional data for entries of a workspace edit. Supports to label entries and marks entries as needing confirmation by the user. The editor groups edits with equal labels into tree nodes, for instance all edits labelled with "Changes in Strings" would be a tree node.

interface WorkspaceEditEntryMetadata

Import

import { WorkspaceEditEntryMetadata } from '@modular/sdk/view';

Members4

descriptionoptional
string

A human-readable string which is rendered less prominent on the same line.

iconPathoptional
IconPath

The icon path or ThemeIcon for the edit.

label
string

A human-readable string which is rendered prominent.

needsConfirmation
boolean

A flag which indicates that user confirmation is needed.