File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2135,6 +2135,20 @@ declare module 'vscode' {
21352135 */
21362136 isPreferred ?: boolean ;
21372137
2138+ /**
2139+ * Marks that the code action cannot currently be applied.
2140+ *
2141+ * Disabled code actions will be surfaced in the refactor UI but cannot be applied.
2142+ */
2143+ disabled ?: {
2144+ /**
2145+ * Human readable description of why the code action is currently disabled.
2146+ *
2147+ * This is displayed in the code actions UI.
2148+ */
2149+ readonly reason : string ;
2150+ } ;
2151+
21382152 /**
21392153 * Creates a new code action.
21402154 *
Original file line number Diff line number Diff line change @@ -1358,26 +1358,6 @@ declare module 'vscode' {
13581358
13591359 //#endregion
13601360
1361- //#region Surfacing reasons why a code action cannot be applied to users: https://github.com/microsoft/vscode/issues/85160
1362-
1363- export interface CodeAction {
1364- /**
1365- * Marks that the code action cannot currently be applied.
1366- *
1367- * Disabled code actions will be surfaced in the refactor UI but cannot be applied.
1368- */
1369- disabled ?: {
1370- /**
1371- * Human readable description of why the code action is currently disabled.
1372- *
1373- * This is displayed in the UI.
1374- */
1375- reason : string ;
1376- } ;
1377- }
1378-
1379- //#endregion
1380-
13811361 //#region Allow theme icons in hovers: https://github.com/microsoft/vscode/issues/84695
13821362
13831363 export interface MarkdownString {
You can’t perform that action at this time.
0 commit comments