File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -1464,10 +1464,31 @@ declare module 'vscode' {
1464
1464
1465
1465
//#region https://github.com/microsoft/vscode/issues/77728
1466
1466
1467
+ /**
1468
+ * Additional data for entries of a workspace edit. Supports to label entries and marks entries
1469
+ * as needing confirmation by the user. The editor groups edits with equal labels into tree nodes,
1470
+ * for instance all edits labelled with "Changes in Strings" would be a tree node.
1471
+ */
1467
1472
export interface WorkspaceEditMetadata {
1473
+
1474
+ /**
1475
+ * A flag which indicates that user confirmation is needed.
1476
+ */
1468
1477
needsConfirmation : boolean ;
1478
+
1479
+ /**
1480
+ * A human-readable string which is rendered prominent.
1481
+ */
1469
1482
label : string ;
1483
+
1484
+ /**
1485
+ * A human-readable string which is rendered less prominent in the same line.
1486
+ */
1470
1487
description ?: string ;
1488
+
1489
+ /**
1490
+ * The icon path or [ThemeIcon](#ThemeIcon) for the edit.
1491
+ */
1471
1492
iconPath ?: Uri | { light : Uri ; dark : Uri } | ThemeIcon ;
1472
1493
}
1473
1494
You can’t perform that action at this time.
0 commit comments