@codingame/monaco-vscode-rollup-vsix-plugin 11.1.2 → 12.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/package.json +4 -3
  2. package/rollup-vsix-plugin.d.ts +1597 -2
  3. package/rollup-vsix-plugin.js +265 -219
  4. package/vscode/src/vs/base/common/jsonSchema.d.ts +0 -90
  5. package/vscode/src/vs/platform/action/common/action.d.ts +0 -12
  6. package/vscode/src/vs/platform/environment/common/environment.d.ts +0 -8
  7. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1494
  8. package/vscode-dts/vscode.proposed.activeComment.d.ts +0 -23
  9. package/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts +0 -49
  10. package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -71
  11. package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +0 -40
  12. package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +0 -46
  13. package/vscode-dts/vscode.proposed.authLearnMore.d.ts +0 -16
  14. package/vscode-dts/vscode.proposed.authSession.d.ts +0 -13
  15. package/vscode-dts/vscode.proposed.canonicalUriProvider.d.ts +0 -47
  16. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +0 -391
  17. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +0 -119
  18. package/vscode-dts/vscode.proposed.chatProvider.d.ts +0 -90
  19. package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +0 -33
  20. package/vscode-dts/vscode.proposed.chatTab.d.ts +0 -17
  21. package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -110
  22. package/vscode-dts/vscode.proposed.codeActionAI.d.ts +0 -16
  23. package/vscode-dts/vscode.proposed.codeActionRanges.d.ts +0 -15
  24. package/vscode-dts/vscode.proposed.codiconDecoration.d.ts +0 -48
  25. package/vscode-dts/vscode.proposed.commentReactor.d.ts +0 -13
  26. package/vscode-dts/vscode.proposed.commentReveal.d.ts +0 -45
  27. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -40
  28. package/vscode-dts/vscode.proposed.commentingRangeHint.d.ts +0 -16
  29. package/vscode-dts/vscode.proposed.commentsDraftState.d.ts +0 -18
  30. package/vscode-dts/vscode.proposed.contribAccessibilityHelpContent.d.ts +0 -15
  31. package/vscode-dts/vscode.proposed.contribCommentEditorActionsMenu.d.ts +0 -6
  32. package/vscode-dts/vscode.proposed.contribCommentPeekContext.d.ts +0 -10
  33. package/vscode-dts/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts +0 -8
  34. package/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts +0 -6
  35. package/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts +0 -6
  36. package/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts +0 -6
  37. package/vscode-dts/vscode.proposed.contribEditSessions.d.ts +0 -8
  38. package/vscode-dts/vscode.proposed.contribEditorContentMenu.d.ts +0 -6
  39. package/vscode-dts/vscode.proposed.contribIssueReporter.d.ts +0 -7
  40. package/vscode-dts/vscode.proposed.contribLabelFormatterWorkspaceTooltip.d.ts +0 -6
  41. package/vscode-dts/vscode.proposed.contribMenuBarHome.d.ts +0 -6
  42. package/vscode-dts/vscode.proposed.contribMergeEditorMenus.d.ts +0 -6
  43. package/vscode-dts/vscode.proposed.contribMultiDiffEditorMenus.d.ts +0 -6
  44. package/vscode-dts/vscode.proposed.contribNotebookStaticPreloads.d.ts +0 -6
  45. package/vscode-dts/vscode.proposed.contribRemoteHelp.d.ts +0 -6
  46. package/vscode-dts/vscode.proposed.contribShareMenu.d.ts +0 -7
  47. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts +0 -7
  48. package/vscode-dts/vscode.proposed.contribSourceControlHistoryTitleMenu.d.ts +0 -7
  49. package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +0 -7
  50. package/vscode-dts/vscode.proposed.contribSourceControlTitleMenu.d.ts +0 -7
  51. package/vscode-dts/vscode.proposed.contribStatusBarItems.d.ts +0 -8
  52. package/vscode-dts/vscode.proposed.contribViewContainerTitle.d.ts +0 -8
  53. package/vscode-dts/vscode.proposed.contribViewsRemote.d.ts +0 -6
  54. package/vscode-dts/vscode.proposed.contribViewsWelcome.d.ts +0 -6
  55. package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +0 -51
  56. package/vscode-dts/vscode.proposed.customEditorMove.d.ts +0 -29
  57. package/vscode-dts/vscode.proposed.debugVisualization.d.ts +0 -170
  58. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -63
  59. package/vscode-dts/vscode.proposed.diffCommand.d.ts +0 -38
  60. package/vscode-dts/vscode.proposed.diffContentOptions.d.ts +0 -16
  61. package/vscode-dts/vscode.proposed.documentFiltersExclusive.d.ts +0 -13
  62. package/vscode-dts/vscode.proposed.documentPaste.d.ts +0 -297
  63. package/vscode-dts/vscode.proposed.editSessionIdentityProvider.d.ts +0 -71
  64. package/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts +0 -76
  65. package/vscode-dts/vscode.proposed.editorInsets.d.ts +0 -22
  66. package/vscode-dts/vscode.proposed.embeddings.d.ts +0 -33
  67. package/vscode-dts/vscode.proposed.extensionRuntime.d.ts +0 -24
  68. package/vscode-dts/vscode.proposed.extensionsAny.d.ts +0 -41
  69. package/vscode-dts/vscode.proposed.externalUriOpener.d.ts +0 -163
  70. package/vscode-dts/vscode.proposed.fileComments.d.ts +0 -42
  71. package/vscode-dts/vscode.proposed.fileSearchProvider.d.ts +0 -73
  72. package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +0 -101
  73. package/vscode-dts/vscode.proposed.findFiles2.d.ts +0 -89
  74. package/vscode-dts/vscode.proposed.findFiles2New.d.ts +0 -105
  75. package/vscode-dts/vscode.proposed.findTextInFiles.d.ts +0 -104
  76. package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +0 -164
  77. package/vscode-dts/vscode.proposed.fsChunks.d.ts +0 -16
  78. package/vscode-dts/vscode.proposed.idToken.d.ts +0 -16
  79. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +0 -95
  80. package/vscode-dts/vscode.proposed.inlineEdit.d.ts +0 -88
  81. package/vscode-dts/vscode.proposed.interactive.d.ts +0 -11
  82. package/vscode-dts/vscode.proposed.interactiveWindow.d.ts +0 -25
  83. package/vscode-dts/vscode.proposed.ipc.d.ts +0 -37
  84. package/vscode-dts/vscode.proposed.languageModelSystem.d.ts +0 -17
  85. package/vscode-dts/vscode.proposed.languageStatusText.d.ts +0 -12
  86. package/vscode-dts/vscode.proposed.lmTools.d.ts +0 -9
  87. package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +0 -87
  88. package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +0 -63
  89. package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +0 -47
  90. package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +0 -44
  91. package/vscode-dts/vscode.proposed.notebookCellExecutionState.d.ts +0 -52
  92. package/vscode-dts/vscode.proposed.notebookControllerAffinityHidden.d.ts +0 -17
  93. package/vscode-dts/vscode.proposed.notebookDeprecated.d.ts +0 -16
  94. package/vscode-dts/vscode.proposed.notebookExecution.d.ts +0 -39
  95. package/vscode-dts/vscode.proposed.notebookKernelSource.d.ts +0 -46
  96. package/vscode-dts/vscode.proposed.notebookLiveShare.d.ts +0 -21
  97. package/vscode-dts/vscode.proposed.notebookMessaging.d.ts +0 -68
  98. package/vscode-dts/vscode.proposed.notebookMime.d.ts +0 -33
  99. package/vscode-dts/vscode.proposed.notebookReplDocument.d.ts +0 -33
  100. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +0 -55
  101. package/vscode-dts/vscode.proposed.portsAttributes.d.ts +0 -100
  102. package/vscode-dts/vscode.proposed.profileContentHandlers.d.ts +0 -19
  103. package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +0 -17
  104. package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +0 -29
  105. package/vscode-dts/vscode.proposed.quickPickItemTooltip.d.ts +0 -16
  106. package/vscode-dts/vscode.proposed.quickPickSortByLabel.d.ts +0 -19
  107. package/vscode-dts/vscode.proposed.resolvers.d.ts +0 -475
  108. package/vscode-dts/vscode.proposed.scmActionButton.d.ts +0 -18
  109. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +0 -88
  110. package/vscode-dts/vscode.proposed.scmMultiDiffEditor.d.ts +0 -34
  111. package/vscode-dts/vscode.proposed.scmSelectedProvider.d.ts +0 -22
  112. package/vscode-dts/vscode.proposed.scmTextDocument.d.ts +0 -19
  113. package/vscode-dts/vscode.proposed.scmValidation.d.ts +0 -60
  114. package/vscode-dts/vscode.proposed.shareProvider.d.ts +0 -74
  115. package/vscode-dts/vscode.proposed.showLocal.d.ts +0 -19
  116. package/vscode-dts/vscode.proposed.speech.d.ts +0 -74
  117. package/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts +0 -22
  118. package/vscode-dts/vscode.proposed.tabInputTextMerge.d.ts +0 -25
  119. package/vscode-dts/vscode.proposed.taskPresentationGroup.d.ts +0 -16
  120. package/vscode-dts/vscode.proposed.telemetry.d.ts +0 -36
  121. package/vscode-dts/vscode.proposed.terminalDataWriteEvent.d.ts +0 -32
  122. package/vscode-dts/vscode.proposed.terminalDimensions.d.ts +0 -39
  123. package/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts +0 -48
  124. package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +0 -87
  125. package/vscode-dts/vscode.proposed.terminalSelection.d.ts +0 -16
  126. package/vscode-dts/vscode.proposed.testObserver.d.ts +0 -199
  127. package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +0 -36
  128. package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +0 -38
  129. package/vscode-dts/vscode.proposed.textSearchProvider.d.ts +0 -281
  130. package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +0 -275
  131. package/vscode-dts/vscode.proposed.timeline.d.ts +0 -163
  132. package/vscode-dts/vscode.proposed.tokenInformation.d.ts +0 -26
  133. package/vscode-dts/vscode.proposed.treeViewActiveItem.d.ts +0 -30
  134. package/vscode-dts/vscode.proposed.treeViewMarkdownMessage.d.ts +0 -28
  135. package/vscode-dts/vscode.proposed.treeViewReveal.d.ts +0 -13
  136. package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +0 -48
  137. package/vscode-dts/vscode.proposed.tunnels.d.ts +0 -64
  138. package/vscode-dts/vscode.proposed.workspaceTrust.d.ts +0 -30
@@ -1,1494 +0,0 @@
1
- import { IJSONSchema } from '../../../base/common/jsonSchema.js';
2
- import { ILocalizedString } from '../../action/common/action.js';
3
- import { ExtensionKind } from '../../environment/common/environment.js';
4
-
5
- interface ICommand {
6
- /**
7
- * Identifier of the command to execute
8
- */
9
- readonly command: string;
10
- /**
11
- * Title by which the command is represented in the UI
12
- */
13
- readonly title: string | ILocalizedString;
14
- readonly shortTitle?: string;
15
- /**
16
- * (Optional) Category string by which the command is grouped in the UI
17
- */
18
- readonly category?: string | ILocalizedString;
19
- /**
20
- * (Optional) Condition which must be true to enable the command in the UI (menu and keybindings). Does not prevent executing the command by other means, like the `executeCommand`-api.
21
- */
22
- readonly enablement?: string;
23
- /**
24
- * (Optional) Icon which is used to represent the command in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `\$(zap)`
25
- */
26
- readonly icon?: string | {
27
- /**
28
- * Icon path when a light theme is used
29
- */
30
- readonly light?: string;
31
- /**
32
- * Icon path when a dark theme is used
33
- */
34
- readonly dark?: string;
35
- };
36
- }
37
- interface IDebugger {
38
- /**
39
- * Unique identifier for this debug adapter.
40
- */
41
- readonly type: string;
42
- /**
43
- * Display name for this debug adapter.
44
- */
45
- readonly label?: string;
46
- /**
47
- * Path to the debug adapter program. Path is either absolute or relative to the extension folder.
48
- */
49
- readonly program?: string;
50
- /**
51
- * Optional arguments to pass to the adapter.
52
- */
53
- readonly args?: unknown[];
54
- /**
55
- * Optional runtime in case the program attribute is not an executable but requires a runtime.
56
- */
57
- readonly runtime?: string;
58
- /**
59
- * Optional runtime arguments.
60
- */
61
- readonly runtimeArgs?: unknown[];
62
- /**
63
- * Mapping from interactive variables (e.g. ${action.pickProcess}) in `launch.json` to a command.
64
- */
65
- readonly variables?: {};
66
- /**
67
- * Configurations for generating the initial 'launch.json'.
68
- */
69
- readonly initialConfigurations?: unknown[] | string;
70
- /**
71
- * List of languages for which the debug extension could be considered the "default debugger".
72
- */
73
- readonly languages?: unknown[];
74
- /**
75
- * Snippets for adding new configurations in 'launch.json'.
76
- */
77
- readonly configurationSnippets?: unknown[];
78
- /**
79
- * JSON schema configurations for validating 'launch.json'.
80
- */
81
- readonly configurationAttributes?: {};
82
- /**
83
- * Condition which must be true to enable this type of debugger. Consider using 'shellExecutionSupported', 'virtualWorkspace', 'resourceScheme' or an extension-defined context key as appropriate for this.
84
- */
85
- readonly when?: string;
86
- /**
87
- * When this condition is true, this debugger type is hidden from the debugger list, but is still enabled.
88
- */
89
- readonly hiddenWhen?: string;
90
- /**
91
- * Optional message to mark this debug type as being deprecated.
92
- */
93
- readonly deprecated?: string;
94
- /**
95
- * Windows specific settings.
96
- */
97
- readonly windows?: {
98
- /**
99
- * Runtime used for Windows.
100
- */
101
- runtime?: string;
102
- };
103
- /**
104
- * macOS specific settings.
105
- */
106
- readonly osx?: {
107
- /**
108
- * Runtime used for macOS.
109
- */
110
- runtime?: string;
111
- };
112
- /**
113
- * Linux specific settings.
114
- */
115
- readonly linux?: {
116
- /**
117
- * Runtime used for Linux.
118
- */
119
- readonly runtime?: string;
120
- };
121
- /**
122
- * UI strings contributed by this debug adapter.
123
- */
124
- readonly strings?: {
125
- /**
126
- * When there are unverified breakpoints in a language supported by this debug adapter, this message will appear on the breakpoint hover and in the breakpoints view. Markdown and command links are supported.
127
- */
128
- readonly unverifiedBreakpoints?: string;
129
- };
130
- }
131
- interface IGrammar {
132
- /**
133
- * Language identifier for which this syntax is contributed to.
134
- */
135
- readonly language?: string;
136
- /**
137
- * Textmate scope name used by the tmLanguage file.
138
- */
139
- readonly scopeName: string;
140
- /**
141
- * Path of the tmLanguage file. The path is relative to the extension folder and typically starts with './syntaxes/'.
142
- */
143
- readonly path: string;
144
- /**
145
- * A map of scope name to language id if this grammar contains embedded languages.
146
- */
147
- readonly embeddedLanguages?: {};
148
- /**
149
- * A map of scope name to token types.
150
- */
151
- readonly tokenTypes?: {
152
- [k: string]: 'string' | 'comment' | 'other';
153
- };
154
- /**
155
- * List of language scope names to which this grammar is injected to.
156
- */
157
- readonly injectTo?: string[];
158
- /**
159
- * Defines which scope names contain balanced brackets.
160
- */
161
- readonly balancedBracketScopes?: string[];
162
- /**
163
- * Defines which scope names do not contain balanced brackets.
164
- */
165
- readonly unbalancedBracketScopes?: string[];
166
- }
167
- interface IJSONValidation {
168
- /**
169
- * The file pattern (or an array of patterns) to match, for example "package.json" or "*.launch". Exclusion patterns start with '!'
170
- */
171
- readonly fileMatch?: string | string[];
172
- /**
173
- * A schema URL ('http:', 'https:') or relative path to the extension folder ('./').
174
- */
175
- readonly url: string;
176
- }
177
- interface IKeyBinding {
178
- /**
179
- * Identifier of the command to run when keybinding is triggered.
180
- */
181
- readonly command: string;
182
- /**
183
- * Arguments to pass to the command to execute.
184
- */
185
- readonly args?: {
186
- [k: string]: unknown;
187
- };
188
- /**
189
- * Key or key sequence (separate keys with plus-sign and sequences with space, e.g. Ctrl+O and Ctrl+L L for a chord).
190
- */
191
- readonly key: string;
192
- /**
193
- * Mac specific key or key sequence.
194
- */
195
- readonly mac?: string;
196
- /**
197
- * Linux specific key or key sequence.
198
- */
199
- readonly linux?: string;
200
- /**
201
- * Windows specific key or key sequence.
202
- */
203
- readonly win?: string;
204
- /**
205
- * Condition when the key is active.
206
- */
207
- readonly when?: string;
208
- }
209
- interface ILanguage {
210
- /**
211
- * ID of the language.
212
- */
213
- readonly id: string;
214
- /**
215
- * Name aliases for the language.
216
- */
217
- readonly aliases?: string[];
218
- /**
219
- * File extensions associated to the language.
220
- */
221
- readonly extensions?: string[];
222
- /**
223
- * File names associated to the language.
224
- */
225
- readonly filenames?: string[];
226
- /**
227
- * File name glob patterns associated to the language.
228
- */
229
- readonly filenamePatterns?: string[];
230
- /**
231
- * Mime types associated to the language.
232
- */
233
- readonly mimetypes?: string[];
234
- /**
235
- * A regular expression matching the first line of a file of the language.
236
- */
237
- readonly firstLine?: string;
238
- /**
239
- * A relative path to a file containing configuration options for the language.
240
- */
241
- readonly configuration?: string;
242
- /**
243
- * A icon to use as file icon, if no icon theme provides one for the language.
244
- */
245
- readonly icon?: {
246
- /**
247
- * Icon path when a light theme is used
248
- */
249
- readonly light?: string;
250
- /**
251
- * Icon path when a dark theme is used
252
- */
253
- readonly dark?: string;
254
- };
255
- }
256
- interface IMenu {
257
- /**
258
- * Identifier of the command to execute. The command must be declared in the 'commands'-section
259
- */
260
- readonly command: string;
261
- /**
262
- * Identifier of an alternative command to execute. The command must be declared in the 'commands'-section
263
- */
264
- readonly alt?: string;
265
- /**
266
- * Condition which must be true to show this item
267
- */
268
- readonly when?: string;
269
- /**
270
- * Group into which this item belongs
271
- */
272
- readonly group?: string;
273
- }
274
- interface ISnippet {
275
- /**
276
- * Language identifier for which this snippet is contributed to.
277
- */
278
- readonly language: string;
279
- /**
280
- * Path of the snippets file. The path is relative to the extension folder and typically starts with './snippets/'.
281
- */
282
- readonly path: string;
283
- }
284
- interface IColorTheme {
285
- /**
286
- * Id of the color theme as used in the user settings.
287
- */
288
- readonly id: string;
289
- /**
290
- * Label of the color theme as shown in the UI.
291
- */
292
- readonly label: string;
293
- /**
294
- * Base theme defining the colors around the editor: 'vs' is the light color theme, 'vs-dark' is the dark color theme. 'hc-black' is the dark high contrast theme, 'hc-light' is the light high contrast theme.
295
- */
296
- readonly uiTheme: 'vs' | 'vs-dark' | 'hc-black' | 'hc-light';
297
- /**
298
- * Path of the tmTheme file. The path is relative to the extension folder and is typically './colorthemes/awesome-color-theme.json'.
299
- */
300
- readonly path: string;
301
- }
302
- interface IIconTheme {
303
- /**
304
- * Id of the file icon theme as used in the user settings.
305
- */
306
- readonly id: string;
307
- /**
308
- * Label of the file icon theme as shown in the UI.
309
- */
310
- readonly label: string;
311
- /**
312
- * Path of the file icon theme definition file. The path is relative to the extension folder and is typically './fileicons/awesome-icon-theme.json'.
313
- */
314
- readonly path: string;
315
- }
316
- interface IProductTheme {
317
- /**
318
- * Id of the product icon theme as used in the user settings.
319
- */
320
- readonly id: string;
321
- /**
322
- * Label of the product icon theme as shown in the UI.
323
- */
324
- readonly label: string;
325
- /**
326
- * Path of the product icon theme definition file. The path is relative to the extension folder and is typically './producticons/awesome-product-icon-theme.json'.
327
- */
328
- readonly path: string;
329
- }
330
- interface IViewContainer {
331
- /**
332
- * Unique id used to identify the container in which views can be contributed using 'views' contribution point
333
- */
334
- readonly id: string;
335
- /**
336
- * Human readable string used to render the container
337
- */
338
- readonly title: string;
339
- /**
340
- * Path to the container icon. Icons are 24x24 centered on a 50x40 block and have a fill color of 'rgb(215, 218, 224)' or '#d7dae0'. It is recommended that icons be in SVG, though any image file type is accepted.
341
- */
342
- readonly icon: string;
343
- }
344
- interface IView {
345
- readonly type?: 'tree' | 'webview';
346
- readonly id: string;
347
- /**
348
- * The human-readable name of the view. Will be shown
349
- */
350
- readonly name: string;
351
- /**
352
- * Condition which must be true to show this view
353
- */
354
- readonly when?: string;
355
- /**
356
- * Path to the view icon. View icons are displayed when the name of the view cannot be shown. It is recommended that icons be in SVG, though any image file type is accepted.
357
- */
358
- readonly icon?: string;
359
- /**
360
- * Human-readable context for when the view is moved out of its original location. By default, the view's container name will be used.
361
- */
362
- readonly contextualTitle?: string;
363
- /**
364
- * Initial state of the view when the extension is first installed. Once the user has changed the view state by collapsing, moving, or hiding the view, the initial state will not be used again.
365
- */
366
- readonly visibility?: 'visible' | 'hidden' | 'collapsed';
367
- /**
368
- * The initial size of the view. The size will behave like the css 'flex' property, and will set the initial size when the view is first shown. In the side bar, this is the height of the view. This value is only respected when the same extension owns both the view and the view container.
369
- */
370
- readonly initialSize?: number;
371
- }
372
- interface IColor {
373
- /**
374
- * The identifier of the themable color
375
- */
376
- readonly id: string;
377
- /**
378
- * The description of the themable color
379
- */
380
- readonly description: string;
381
- readonly defaults: {
382
- /**
383
- * The default color for light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.
384
- */
385
- readonly light: string;
386
- /**
387
- * The default color for dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.
388
- */
389
- readonly dark: string;
390
- /**
391
- * The default color for high contrast dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default. If not provided, the `dark` color is used as default for high contrast dark themes.
392
- */
393
- readonly highContrast?: string;
394
- /**
395
- * The default color for high contrast light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default. If not provided, the `light` color is used as default for high contrast light themes.
396
- */
397
- readonly highContrastLight?: string;
398
- };
399
- }
400
- interface IWebviewEditor {
401
- readonly viewType: string;
402
- readonly priority: string;
403
- /**
404
- * Human readable name of the custom editor. This is displayed to users when selecting which editor to use.
405
- */
406
- readonly displayName: string;
407
- /**
408
- * Set of globs that the custom editor is enabled for.
409
- */
410
- readonly selector: {
411
- /**
412
- * Glob that the custom editor is enabled for.
413
- */
414
- readonly filenamePattern?: string;
415
- }[];
416
- }
417
- interface ICodeActionContributionAction {
418
- readonly kind: string;
419
- /**
420
- * Label for the code action used in the UI.
421
- */
422
- readonly title: string;
423
- /**
424
- * Description of what the code action does.
425
- */
426
- readonly description?: string;
427
- }
428
- interface ICodeActionContribution {
429
- /**
430
- * Language modes that the code actions are enabled for.
431
- */
432
- readonly languages: string[];
433
- readonly actions: readonly ICodeActionContributionAction[];
434
- }
435
- interface IAuthenticationContribution {
436
- /**
437
- * The id of the authentication provider.
438
- */
439
- readonly id: string;
440
- /**
441
- * The human readable name of the authentication provider.
442
- */
443
- readonly label: string;
444
- }
445
- interface IWalkthroughStep {
446
- /**
447
- * Unique identifier for this step. This is used to keep track of which steps have been completed.
448
- */
449
- readonly id: string;
450
- /**
451
- * Title of step.
452
- */
453
- readonly title: string;
454
- /**
455
- * Description of step. Supports ``preformatted``, __italic__, and **bold** text. Use markdown-style links for commands or external links: [Title](command:myext.command), [Title](command:toSide:myext.command), or [Title](https://aka.ms). Links on their own line will be rendered as buttons.
456
- */
457
- readonly description?: string;
458
- readonly button?: {
459
- [k: string]: unknown;
460
- };
461
- /**
462
- * Media to show alongside this step, either an image or markdown content.
463
- */
464
- readonly media: {
465
- readonly path?: {
466
- [k: string]: unknown;
467
- };
468
- /**
469
- * Path to an image - or object consisting of paths to light, dark, and hc images - relative to extension directory. Depending on context, the image will be displayed from 400px to 800px wide, with similar bounds on height. To support HIDPI displays, the image will be rendered at 1.5x scaling, for example a 900 physical pixels wide image will be displayed as 600 logical pixels wide.
470
- */
471
- readonly image: string | {
472
- /**
473
- * Path to the image for dark themes, relative to extension directory.
474
- */
475
- readonly dark: string;
476
- /**
477
- * Path to the image for light themes, relative to extension directory.
478
- */
479
- readonly light: string;
480
- /**
481
- * Path to the image for hc themes, relative to extension directory.
482
- */
483
- readonly hc: string;
484
- /**
485
- * Path to the image for hc light themes, relative to extension directory.
486
- */
487
- readonly hcLight: string;
488
- };
489
- /**
490
- * Alternate text to display when the image cannot be loaded or in screen readers.
491
- */
492
- readonly altText: string;
493
- readonly markdown?: never;
494
- readonly svg?: never;
495
- } | {
496
- /**
497
- * Path to an svg, color tokens are supported in variables to support theming to match the workbench.
498
- */
499
- readonly svg: string;
500
- /**
501
- * Alternate text to display when the image cannot be loaded or in screen readers.
502
- */
503
- readonly altText: string;
504
- readonly image?: never;
505
- readonly markdown?: never;
506
- } | {
507
- readonly path?: {
508
- [k: string]: unknown;
509
- };
510
- /**
511
- * Path to the markdown document, relative to extension directory.
512
- */
513
- readonly markdown: string;
514
- readonly image?: never;
515
- readonly svg?: never;
516
- };
517
- /**
518
- * Events that should trigger this step to become checked off. If empty or not defined, the step will check off when any of the step's buttons or links are clicked; if the step has no buttons or links it will check on when it is selected.
519
- */
520
- readonly completionEvents?: string[];
521
- /**
522
- * Signal to mark step as complete.
523
- * @deprecated use `completionEvents: 'onCommand:...'`
524
- **/
525
- readonly doneOn?: {
526
- command: string;
527
- };
528
- /**
529
- * Context key expression to control the visibility of this step.
530
- */
531
- readonly when?: string;
532
- }
533
- interface IWalkthrough {
534
- /**
535
- * Unique identifier for this walkthrough.
536
- */
537
- readonly id: string;
538
- /**
539
- * Title of walkthrough.
540
- */
541
- readonly title: string;
542
- /**
543
- * Relative path to the icon of the walkthrough. The path is relative to the extension location. If not specified, the icon defaults to the extension icon if available.
544
- */
545
- readonly icon?: string;
546
- /**
547
- * Description of walkthrough.
548
- */
549
- readonly description: string;
550
- /**
551
- * Walkthroughs that match one of these glob patterns appear as 'featured' in workspaces with the specified files. For example, a walkthrough for TypeScript projects might specify `tsconfig.json` here.
552
- */
553
- readonly featuredFor?: string[];
554
- /**
555
- * Context key expression to control the visibility of this walkthrough.
556
- */
557
- readonly when?: string;
558
- readonly steps: IWalkthroughStep[];
559
- }
560
- interface IStartEntry {
561
- readonly title: string;
562
- readonly description: string;
563
- readonly command: string;
564
- readonly when?: string;
565
- readonly category: 'file' | 'folder' | 'notebook';
566
- }
567
- interface INotebookEntry {
568
- /**
569
- * Type of the notebook.
570
- */
571
- readonly type: string;
572
- /**
573
- * Human readable name of the notebook.
574
- */
575
- readonly displayName: string;
576
- /**
577
- * Set of globs that the notebook is for.
578
- */
579
- readonly selector: {
580
- /**
581
- * Glob that the notebook is enabled for.
582
- */
583
- readonly filenamePattern?: string;
584
- /**
585
- * Glob that the notebook is disabled for.
586
- */
587
- readonly excludeFileNamePattern?: string;
588
- }[];
589
- readonly priority?: 'default' | 'option';
590
- }
591
- interface INotebookRendererContribution {
592
- /**
593
- * Unique identifier of the notebook output renderer.
594
- */
595
- readonly id: string;
596
- /**
597
- * Human readable name of the notebook output renderer.
598
- */
599
- readonly displayName: string;
600
- readonly dependencies?: string[];
601
- readonly optionalDependencies?: string[];
602
- /**
603
- * Defines how and if the renderer needs to communicate with an extension host, via `createRendererMessaging`. Renderers with stronger messaging requirements may not work in all environments.
604
- */
605
- readonly requiresMessaging?: 'always' | 'optional' | 'never';
606
- /**
607
- * Set of globs that the notebook is for.
608
- */
609
- readonly mimeTypes: string[];
610
- readonly entrypoint: string | {
611
- readonly extends: string;
612
- readonly path: string;
613
- };
614
- }
615
- interface IDebugVisualizationContribution {
616
- readonly id: string;
617
- readonly when: string;
618
- }
619
- interface ITranslation {
620
- /**
621
- * Id of VS Code or Extension for which this translation is contributed to. Id of VS Code is always `vscode` and of extension should be in format `publisherId.extensionName`.
622
- */
623
- readonly id: string;
624
- /**
625
- * A relative path to a file containing translations for the language.
626
- */
627
- readonly path: string;
628
- }
629
- interface ILocalizationContribution {
630
- /**
631
- * Id of the language into which the display strings are translated.
632
- */
633
- readonly languageId: string;
634
- /**
635
- * Name of the language in English.
636
- */
637
- readonly languageName?: string;
638
- /**
639
- * Name of the language in contributed language.
640
- */
641
- readonly localizedLanguageName?: string;
642
- /**
643
- *
644
- */
645
- readonly translations: ITranslation[];
646
- }
647
- interface ITerminal {
648
- readonly profiles?: {
649
- readonly id: string;
650
- readonly title: string;
651
- readonly icon?: (string | {
652
- /**
653
- * Icon path when a light theme is used
654
- */
655
- readonly light?: string;
656
- /**
657
- * Icon path when a dark theme is used
658
- */
659
- readonly dark?: string;
660
- [k: string]: unknown;
661
- });
662
- }[];
663
- }
664
- interface IStatusBarItem {
665
- readonly id: string;
666
- /**
667
- * The name of the entry, like 'Python Language Indicator', 'Git Status' etc. Try to keep the length of the name short, yet descriptive enough that users can understand what the status bar item is about.
668
- */
669
- readonly name: string;
670
- /**
671
- * The text to show for the entry. You can embed icons in the text by leveraging the `$(<name>)`-syntax, like 'Hello $(globe)!'
672
- */
673
- readonly text: string;
674
- /**
675
- * The tooltip text for the entry.
676
- */
677
- readonly tooltip?: string;
678
- /**
679
- * The command to execute when the status bar entry is clicked.
680
- */
681
- readonly command?: string;
682
- /**
683
- * The alignment of the status bar entry.
684
- */
685
- readonly alignment: 'left' | 'right';
686
- /**
687
- * The priority of the status bar entry. Higher value means the item should be shown more to the left.
688
- */
689
- readonly priority?: number;
690
- /**
691
- * Defines the role and aria label to be used when the status bar entry is focused.
692
- */
693
- readonly accessibilityInformation?: {
694
- /**
695
- * The role of the status bar entry which defines how a screen reader interacts with it. More about aria roles can be found here https://w3c.github.io/aria/#widget_roles
696
- */
697
- readonly role?: string;
698
- /**
699
- * The aria label of the status bar entry. Defaults to the entry's text.
700
- */
701
- readonly label?: string;
702
- };
703
- }
704
- interface IRemoteHelp {
705
- /**
706
- * The url, or a command that returns the url, to your project's Getting Started page, or a walkthrough ID contributed by your project's extension
707
- */
708
- readonly getStarted?: string | {
709
- /**
710
- * The ID of a Get Started walkthrough to open.
711
- */
712
- id: string;
713
- };
714
- /**
715
- * The url, or a command that returns the url, to your project's documentation page
716
- */
717
- readonly documentation?: string;
718
- /**
719
- * The url, or a command that returns the url, to your project's feedback reporter
720
- */
721
- readonly feedback?: string;
722
- /**
723
- * The url, or a command that returns the url, to your project's issue reporter
724
- */
725
- readonly reportIssue?: string;
726
- /**
727
- * The url, or a command that returns the url, to your project's issues list
728
- */
729
- readonly issues?: string;
730
- }
731
- interface ITaskDefinitions {
732
- /**
733
- * The actual task type. Please note that types starting with a '$' are reserved for internal usage.
734
- */
735
- readonly type?: string;
736
- readonly required?: string[];
737
- /**
738
- * Additional properties of the task type
739
- */
740
- readonly properties?: {
741
- [k: string]: IJSONSchema;
742
- };
743
- readonly when?: string;
744
- }
745
- interface IIcon {
746
- /**
747
- * The description of the themable icon
748
- */
749
- readonly description: string;
750
- /**
751
- * The default of the icon. Either a reference to an extisting ThemeIcon or an icon in an icon font.
752
- */
753
- readonly default: string | {
754
- /**
755
- * The path of the icon font that defines the icon.
756
- */
757
- readonly fontPath: string;
758
- /**
759
- * The character for the icon in the icon font.
760
- */
761
- readonly fontCharacter: string;
762
- };
763
- }
764
- interface IDocumentationRefactoring {
765
- /**
766
- * Label for the documentation used in the UI.
767
- */
768
- readonly title: string;
769
- /**
770
- * When clause.
771
- */
772
- readonly when: string;
773
- /**
774
- * Command executed.
775
- */
776
- readonly command: string;
777
- }
778
- interface IDocumentation {
779
- /**
780
- * Contributed documentation for refactorings.
781
- */
782
- readonly refactoring?: IDocumentationRefactoring[];
783
- }
784
- interface ISubMenu {
785
- /**
786
- * Identifier of the submenu to display in this item.
787
- */
788
- readonly submenu: string;
789
- /**
790
- * Condition which must be true to show this item
791
- */
792
- readonly when?: string;
793
- /**
794
- * Group into which this item belongs
795
- */
796
- readonly group?: string;
797
- }
798
- interface ISubMenu {
799
- /**
800
- * Identifier of the menu to display as a submenu.
801
- */
802
- readonly id: string;
803
- /**
804
- * The label of the menu item which leads to this submenu.
805
- */
806
- readonly label: string;
807
- /**
808
- * (Optional) Icon which is used to represent the submenu in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `\$(zap)`
809
- */
810
- readonly icon?: string | {
811
- /**
812
- * Icon path when a light theme is used
813
- */
814
- readonly light?: string;
815
- /**
816
- * Icon path when a dark theme is used
817
- */
818
- readonly dark?: string;
819
- };
820
- }
821
- interface IResourceLabelFormatters {
822
- /**
823
- * URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.
824
- */
825
- readonly scheme: string;
826
- /**
827
- * URI authority on which to match the formatter on. Simple glob patterns are supported.
828
- */
829
- readonly authority?: string;
830
- /**
831
- * Rules for formatting uri resource labels.
832
- */
833
- readonly formatting: {
834
- /**
835
- * Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme}, ${authority} and ${authoritySuffix} are supported as variables.
836
- */
837
- readonly label?: string;
838
- /**
839
- * Separator to be used in the uri label display. '/' or '' as an example.
840
- */
841
- readonly separator?: string;
842
- /**
843
- * Controls whether `${path}` substitutions should have starting separator characters stripped.
844
- */
845
- readonly stripPathStartingSeparator?: boolean;
846
- /**
847
- * Controls if the start of the uri label should be tildified when possible.
848
- */
849
- readonly tildify?: boolean;
850
- /**
851
- * Suffix appended to the workspace label.
852
- */
853
- readonly workspaceSuffix?: string;
854
- };
855
- }
856
- interface ISemanticTokenTypes {
857
- /**
858
- * The identifier of the semantic token type
859
- */
860
- readonly id?: string;
861
- /**
862
- * The super type of the semantic token type
863
- */
864
- readonly superType?: string;
865
- /**
866
- * The description of the semantic token type
867
- */
868
- readonly description?: string;
869
- }
870
- interface ISemanticTokenModifiers {
871
- /**
872
- * The identifier of the semantic token modifier
873
- */
874
- readonly id?: string;
875
- /**
876
- * The description of the semantic token modifier
877
- */
878
- readonly description?: string;
879
- }
880
- interface ISemanticTokenScopes {
881
- /**
882
- * Lists the languge for which the defaults are.
883
- */
884
- readonly language?: string;
885
- /**
886
- * Maps a semantic token (described by semantic token selector) to one or more textMate scopes used to represent that token.
887
- */
888
- readonly scopes?: {
889
- [k: string]: string[];
890
- };
891
- }
892
- interface IBreakpoint {
893
- /**
894
- * Allow breakpoints for this language.
895
- */
896
- readonly language?: string;
897
- /**
898
- * Condition which must be true to enable breakpoints in this language. Consider matching this to the debugger when clause as appropriate.
899
- */
900
- readonly when?: string;
901
- }
902
- interface ITerminalQuickFix {
903
- /**
904
- * The ID of the quick fix provider
905
- */
906
- readonly id: string;
907
- /**
908
- * A regular expression or string to test the command line against
909
- */
910
- readonly commandLineMatcher: string;
911
- readonly outputMatcher: {
912
- /**
913
- * A regular expression or string to test the command line against
914
- */
915
- readonly lineMatcher: string;
916
- /**
917
- * Where the search should begin in the buffer
918
- */
919
- readonly anchor: 'top' | 'bottom';
920
- /**
921
- * The number of lines vertically from the anchor in the buffer to start matching against
922
- */
923
- readonly offset: number;
924
- /**
925
- * The number of rows to match against, this should be as small as possible for performance reasons
926
- */
927
- readonly length: number;
928
- };
929
- /**
930
- * The command exit result to match on
931
- */
932
- readonly commandExitResult: 'success' | 'error';
933
- /**
934
- * The kind of the resulting quick fix. This changes how the quick fix is presented. Defaults to `"fix"`.
935
- */
936
- readonly kind?: 'default' | 'explain';
937
- }
938
- interface IInteractiveSession {
939
- /**
940
- * Unique identifier for this Interactive Session provider.
941
- */
942
- readonly id: string;
943
- /**
944
- * Display name for this Interactive Session provider.
945
- */
946
- readonly label: string;
947
- /**
948
- * An icon for this Interactive Session provider.
949
- */
950
- readonly icon?: string;
951
- /**
952
- * A condition which must be true to enable this Interactive Session provider.
953
- */
954
- readonly when?: string;
955
- }
956
- interface NotebookPreload {
957
- /**
958
- * Type of the notebook.
959
- */
960
- readonly type: string;
961
- /**
962
- * Path to file loaded in the webview.
963
- */
964
- readonly entrypoint: string;
965
- /**
966
- * Paths to additional resources that should be allowed in the webview.
967
- */
968
- readonly localResourceRoots?: string[];
969
- }
970
- interface IViewsWelcome {
971
- readonly view: string;
972
- /**
973
- * Welcome content to be displayed. The format of the contents is a subset of Markdown, with support for links only.
974
- */
975
- readonly contents: string;
976
- /**
977
- * Condition when the welcome content should be displayed.
978
- */
979
- readonly when?: string;
980
- /**
981
- * Group to which this welcome content belongs. Proposed API.
982
- */
983
- readonly group?: string;
984
- /**
985
- * Condition when the welcome content buttons and command links should be enabled.
986
- */
987
- readonly enablement?: string;
988
- }
989
- interface INamedProblemPattern extends IProblemPattern {
990
- /**
991
- * The name of the problem pattern.
992
- */
993
- name: string;
994
- /**
995
- * A human readable label
996
- */
997
- label?: string;
998
- }
999
- interface ICheckedProblemPattern extends IProblemPattern {
1000
- /**
1001
- * The regular expression to find a problem in the console output of an
1002
- * executed task.
1003
- */
1004
- regexp: string;
1005
- }
1006
- type MultiLineCheckedProblemPattern = ICheckedProblemPattern[];
1007
- interface INamedMultiLineCheckedProblemPattern {
1008
- /**
1009
- * The name of the problem pattern.
1010
- */
1011
- name: string;
1012
- /**
1013
- * A human readable label
1014
- */
1015
- label?: string;
1016
- /**
1017
- * The actual patterns
1018
- */
1019
- patterns: MultiLineCheckedProblemPattern;
1020
- }
1021
- type NamedProblemPatterns = (INamedProblemPattern | INamedMultiLineCheckedProblemPattern)[];
1022
- interface IProblemPattern {
1023
- /**
1024
- * The regular expression to find a problem in the console output of an
1025
- * executed task.
1026
- */
1027
- regexp?: string;
1028
- /**
1029
- * Whether the pattern matches a whole file, or a location (file/line)
1030
- *
1031
- * The default is to match for a location. Only valid on the
1032
- * first problem pattern in a multi line problem matcher.
1033
- */
1034
- kind?: string;
1035
- /**
1036
- * The match group index of the filename.
1037
- * If omitted 1 is used.
1038
- */
1039
- file?: number;
1040
- /**
1041
- * The match group index of the problem's location. Valid location
1042
- * patterns are: (line), (line,column) and (startLine,startColumn,endLine,endColumn).
1043
- * If omitted the line and column properties are used.
1044
- */
1045
- location?: number;
1046
- /**
1047
- * The match group index of the problem's line in the source file.
1048
- *
1049
- * Defaults to 2.
1050
- */
1051
- line?: number;
1052
- /**
1053
- * The match group index of the problem's column in the source file.
1054
- *
1055
- * Defaults to 3.
1056
- */
1057
- column?: number;
1058
- /**
1059
- * The match group index of the problem's end line in the source file.
1060
- *
1061
- * Defaults to undefined. No end line is captured.
1062
- */
1063
- endLine?: number;
1064
- /**
1065
- * The match group index of the problem's end column in the source file.
1066
- *
1067
- * Defaults to undefined. No end column is captured.
1068
- */
1069
- endColumn?: number;
1070
- /**
1071
- * The match group index of the problem's severity.
1072
- *
1073
- * Defaults to undefined. In this case the problem matcher's severity
1074
- * is used.
1075
- */
1076
- severity?: number;
1077
- /**
1078
- * The match group index of the problem's code.
1079
- *
1080
- * Defaults to undefined. No code is captured.
1081
- */
1082
- code?: number;
1083
- /**
1084
- * The match group index of the message. If omitted it defaults
1085
- * to 4 if location is specified. Otherwise it defaults to 5.
1086
- */
1087
- message?: number;
1088
- /**
1089
- * Specifies if the last pattern in a multi line problem matcher should
1090
- * loop as long as it does match a line consequently. Only valid on the
1091
- * last problem pattern in a multi line problem matcher.
1092
- */
1093
- loop?: boolean;
1094
- }
1095
- /**
1096
- * A watching pattern
1097
- */
1098
- interface IWatchingPattern {
1099
- /**
1100
- * The actual regular expression
1101
- */
1102
- regexp?: string;
1103
- /**
1104
- * The match group index of the filename. If provided the expression
1105
- * is matched for that file only.
1106
- */
1107
- file?: number;
1108
- }
1109
- /**
1110
- * A description to track the start and end of a watching task.
1111
- */
1112
- interface IBackgroundMonitor {
1113
- /**
1114
- * If set to true the watcher is in active mode when the task
1115
- * starts. This is equals of issuing a line that matches the
1116
- * beginsPattern.
1117
- */
1118
- activeOnStart?: boolean;
1119
- /**
1120
- * If matched in the output the start of a watching task is signaled.
1121
- */
1122
- beginsPattern?: string | IWatchingPattern;
1123
- /**
1124
- * If matched in the output the end of a watching task is signaled.
1125
- */
1126
- endsPattern?: string | IWatchingPattern;
1127
- }
1128
- interface INamedProblemMatcher {
1129
- /**
1130
- * This name can be used to refer to the
1131
- * problem matcher from within a task.
1132
- */
1133
- name: string;
1134
- /**
1135
- * A human readable label.
1136
- */
1137
- label?: string;
1138
- /**
1139
- * The name of a base problem matcher to use. If specified the
1140
- * base problem matcher will be used as a template and properties
1141
- * specified here will replace properties of the base problem
1142
- * matcher
1143
- */
1144
- base?: string;
1145
- /**
1146
- * The owner of the produced VSCode problem. This is typically
1147
- * the identifier of a VSCode language service if the problems are
1148
- * to be merged with the one produced by the language service
1149
- * or a generated internal id. Defaults to the generated internal id.
1150
- */
1151
- owner?: string;
1152
- /**
1153
- * A human-readable string describing the source of this problem.
1154
- * E.g. 'typescript' or 'super lint'.
1155
- */
1156
- source?: string;
1157
- /**
1158
- * Specifies to which kind of documents the problems found by this
1159
- * matcher are applied. Valid values are:
1160
- *
1161
- * "allDocuments": problems found in all documents are applied.
1162
- * "openDocuments": problems found in documents that are open
1163
- * are applied.
1164
- * "closedDocuments": problems found in closed documents are
1165
- * applied.
1166
- */
1167
- applyTo?: string;
1168
- /**
1169
- * The severity of the VSCode problem produced by this problem matcher.
1170
- *
1171
- * Valid values are:
1172
- * "error": to produce errors.
1173
- * "warning": to produce warnings.
1174
- * "info": to produce infos.
1175
- *
1176
- * The value is used if a pattern doesn't specify a severity match group.
1177
- * Defaults to "error" if omitted.
1178
- */
1179
- severity?: string;
1180
- /**
1181
- * Defines how filename reported in a problem pattern
1182
- * should be read. Valid values are:
1183
- * - "absolute": the filename is always treated absolute.
1184
- * - "relative": the filename is always treated relative to
1185
- * the current working directory. This is the default.
1186
- * - ["relative", "path value"]: the filename is always
1187
- * treated relative to the given path value.
1188
- * - "autodetect": the filename is treated relative to
1189
- * the current workspace directory, and if the file
1190
- * does not exist, it is treated as absolute.
1191
- * - ["autodetect", "path value"]: the filename is treated
1192
- * relative to the given path value, and if it does not
1193
- * exist, it is treated as absolute.
1194
- * - ["search", { include?: "" | []; exclude?: "" | [] }]: The filename
1195
- * needs to be searched under the directories named by the "include"
1196
- * property and their nested subdirectories. With "exclude" property
1197
- * present, the directories should be removed from the search. When
1198
- * `include` is not unprovided, the current workspace directory should
1199
- * be used as the default.
1200
- */
1201
- fileLocation?: string | string[] | ['search', ISearchFileLocationArgs];
1202
- /**
1203
- * The name of a predefined problem pattern, the inline definition
1204
- * of a problem pattern or an array of problem patterns to match
1205
- * problems spread over multiple lines.
1206
- */
1207
- pattern?: string | IProblemPattern | IProblemPattern[];
1208
- /**
1209
- * A regular expression signaling that a watched tasks begins executing
1210
- * triggered through file watching.
1211
- */
1212
- watchedTaskBeginsRegExp?: string;
1213
- /**
1214
- * A regular expression signaling that a watched tasks ends executing.
1215
- */
1216
- watchedTaskEndsRegExp?: string;
1217
- /**
1218
- * @deprecated Use background instead.
1219
- */
1220
- watching?: IBackgroundMonitor;
1221
- background?: IBackgroundMonitor;
1222
- }
1223
- type ISearchFileLocationArgs = {
1224
- include?: string | string[];
1225
- exclude?: string | string[];
1226
- };
1227
- interface ITypescriptServerPlugin {
1228
- /**
1229
- * Name of the plugin as listed in the package.json.
1230
- */
1231
- name: string;
1232
- /**
1233
- * Should the plugin be loaded when using workspace versions of TypeScript?
1234
- */
1235
- enableForWorkspaceTypeScriptVersions: boolean;
1236
- }
1237
- interface IHtmlLanguageParticipant {
1238
- /**
1239
- * The id of the language that participates with HTML language server.
1240
- */
1241
- languageId: string;
1242
- /**
1243
- * Whether the language participates with HTML auto insertions. If not specified, defaults to <code>true</code>.
1244
- */
1245
- autoInsert: boolean;
1246
- }
1247
- interface IExtensionContributions {
1248
- /**
1249
- * Contributes terminal functionality.
1250
- */
1251
- readonly terminal?: ITerminal;
1252
- /**
1253
- * Contributes commands to the command palette.
1254
- */
1255
- readonly commands?: ICommand[];
1256
- /**
1257
- * Contributes configuration settings.
1258
- */
1259
- readonly configuration?: any;
1260
- /**
1261
- * Contributes debug adapters.
1262
- */
1263
- readonly debuggers?: IDebugger[];
1264
- /**
1265
- * Contributes breakpoints.
1266
- */
1267
- readonly breakpoints?: IBreakpoint[];
1268
- /**
1269
- * Contributes textmate tokenizers.
1270
- */
1271
- readonly grammars?: IGrammar[];
1272
- /**
1273
- * Contributes json schema configuration.
1274
- */
1275
- readonly jsonValidation?: IJSONValidation[];
1276
- /**
1277
- * Contributes keybindings.
1278
- */
1279
- readonly keybindings?: IKeyBinding[];
1280
- /**
1281
- * Contributes language declarations.
1282
- */
1283
- readonly languages?: ILanguage[];
1284
- /**
1285
- * Contributes menu items to the editor
1286
- */
1287
- readonly menus?: {
1288
- [context: string]: IMenu[];
1289
- };
1290
- /**
1291
- * Contributes submenu items to the editor
1292
- */
1293
- readonly submenus?: ISubMenu[];
1294
- /**
1295
- * Contributes snippets.
1296
- */
1297
- readonly snippets?: ISnippet[];
1298
- /**
1299
- * Contributes textmate color themes.
1300
- */
1301
- readonly themes?: IColorTheme[];
1302
- /**
1303
- * Contributes file icon themes.
1304
- */
1305
- readonly iconThemes?: IIconTheme[];
1306
- /**
1307
- * Contributes product icon themes.
1308
- */
1309
- readonly productIconThemes?: IProductTheme[];
1310
- /**
1311
- * Contributes views containers to the editor
1312
- */
1313
- readonly viewsContainers?: {
1314
- [location: string]: IViewContainer[];
1315
- };
1316
- /**
1317
- * Contributes views to the editor
1318
- */
1319
- readonly views?: {
1320
- [location: string]: IView[];
1321
- };
1322
- /**
1323
- * Contributes extension defined themable colors
1324
- */
1325
- readonly colors?: IColor[];
1326
- /**
1327
- * Contributes localizations to the editor
1328
- */
1329
- readonly localizations?: ILocalizationContribution[];
1330
- /**
1331
- * Contributed custom editors.
1332
- */
1333
- readonly customEditors?: readonly IWebviewEditor[];
1334
- readonly codeActions?: readonly ICodeActionContribution[];
1335
- /**
1336
- * Contributes authentication
1337
- */
1338
- readonly authentication?: IAuthenticationContribution[];
1339
- /**
1340
- * Contribute walkthroughs to help users getting started with your extension.
1341
- */
1342
- readonly walkthroughs?: IWalkthrough[];
1343
- readonly startEntries?: IStartEntry[];
1344
- /**
1345
- * Contributes notebook document provider.
1346
- */
1347
- readonly notebooks?: INotebookEntry[];
1348
- /**
1349
- * Contributes notebook output renderer provider.
1350
- */
1351
- readonly notebookRenderer?: INotebookRendererContribution[];
1352
- readonly debugVisualizers?: IDebugVisualizationContribution[];
1353
- readonly chatParticipants?: ReadonlyArray<{
1354
- id: string;
1355
- }>;
1356
- /**
1357
- * Contributes notebook preloads.
1358
- */
1359
- readonly notebookPreload?: NotebookPreload[];
1360
- /**
1361
- * Contributes items to the status bar.
1362
- */
1363
- readonly statusBarItems?: IStatusBarItem[];
1364
- /**
1365
- * Contributes help information for Remote
1366
- */
1367
- readonly remoteHelp?: IRemoteHelp;
1368
- /**
1369
- * Contributes task kinds
1370
- */
1371
- readonly taskDefinitions?: ITaskDefinitions[];
1372
- /**
1373
- * Contributes extension defined themable icons
1374
- */
1375
- readonly icons?: {
1376
- [id: string]: IIcon;
1377
- };
1378
- /**
1379
- * Contributed documentation.
1380
- */
1381
- readonly documentation?: IDocumentation;
1382
- /**
1383
- * Contributes resource label formatting rules.
1384
- */
1385
- readonly resourceLabelFormatters?: IResourceLabelFormatters[];
1386
- readonly configurationDefaults?: {
1387
- [id: string]: any;
1388
- };
1389
- /**
1390
- * Contributes semantic token types.
1391
- */
1392
- readonly semanticTokenTypes?: ISemanticTokenTypes[];
1393
- /**
1394
- * Contributes semantic token modifiers.
1395
- */
1396
- readonly semanticTokenModifiers?: ISemanticTokenModifiers[];
1397
- /**
1398
- * Contributes semantic token scope maps.
1399
- */
1400
- readonly semanticTokenScopes?: ISemanticTokenScopes[];
1401
- /**
1402
- * Contributes terminal quick fixes.
1403
- */
1404
- readonly terminalQuickFixes?: ITerminalQuickFix[];
1405
- /**
1406
- * Contributes an Interactive Session provider
1407
- */
1408
- readonly interactiveSession?: IInteractiveSession[];
1409
- /**
1410
- * Contributed views welcome content. Welcome content will be rendered in tree based views whenever they have no meaningful content to display, ie. the File Explorer when no folder is open. Such content is useful as in-product documentation to drive users to use certain features before they are available. A good example would be a `Clone Repository` button in the File Explorer welcome view.
1411
- */
1412
- readonly viewsWelcome?: IViewsWelcome[];
1413
- /**
1414
- * Contributes problem matchers
1415
- */
1416
- readonly problemMatchers?: INamedProblemMatcher[];
1417
- /**
1418
- * Contributes problem patterns
1419
- */
1420
- readonly problemPatterns?: NamedProblemPatterns;
1421
- /**
1422
- * Contributed TypeScript server plugins.
1423
- */
1424
- readonly typescriptServerPlugins?: ITypescriptServerPlugin[];
1425
- /**
1426
- * A list of languages that participate with the HTML language server.
1427
- */
1428
- readonly htmlLanguageParticipants?: IHtmlLanguageParticipant[];
1429
- readonly html?: {
1430
- customData?: string[];
1431
- };
1432
- readonly css?: {
1433
- customData?: string[];
1434
- };
1435
- }
1436
- interface IExtensionCapabilities {
1437
- readonly virtualWorkspaces?: ExtensionVirtualWorkspaceSupport;
1438
- readonly untrustedWorkspaces?: ExtensionUntrustedWorkspaceSupport;
1439
- }
1440
- type LimitedWorkspaceSupportType = 'limited';
1441
- type ExtensionUntrustedWorkspaceSupport = {
1442
- supported: true;
1443
- } | {
1444
- supported: false;
1445
- description: string;
1446
- } | {
1447
- supported: LimitedWorkspaceSupportType;
1448
- description: string;
1449
- restrictedConfigurations?: string[];
1450
- };
1451
- type ExtensionVirtualWorkspaceSupport = boolean | {
1452
- supported: true;
1453
- } | {
1454
- supported: false | LimitedWorkspaceSupportType;
1455
- description: string;
1456
- };
1457
- interface IRelaxedExtensionManifest {
1458
- name: string;
1459
- displayName?: string;
1460
- publisher: string;
1461
- version: string;
1462
- engines: {
1463
- readonly vscode: string;
1464
- };
1465
- description?: string;
1466
- main?: string;
1467
- browser?: string;
1468
- preview?: boolean;
1469
- l10n?: string;
1470
- icon?: string;
1471
- categories?: string[];
1472
- keywords?: string[];
1473
- activationEvents?: string[];
1474
- extensionDependencies?: string[];
1475
- extensionPack?: string[];
1476
- extensionKind?: ExtensionKind | ExtensionKind[];
1477
- contributes?: IExtensionContributions;
1478
- repository?: {
1479
- url: string;
1480
- };
1481
- bugs?: {
1482
- url: string;
1483
- };
1484
- originalEnabledApiProposals?: readonly string[];
1485
- enabledApiProposals?: readonly string[];
1486
- api?: string;
1487
- scripts?: {
1488
- [key: string]: string;
1489
- };
1490
- capabilities?: IExtensionCapabilities;
1491
- }
1492
- type IExtensionManifest = Readonly<IRelaxedExtensionManifest>;
1493
-
1494
- export type { ExtensionUntrustedWorkspaceSupport, ExtensionVirtualWorkspaceSupport, IAuthenticationContribution, IBackgroundMonitor, IBreakpoint, ICheckedProblemPattern, ICodeActionContribution, ICodeActionContributionAction, IColor, IColorTheme, ICommand, IDebugVisualizationContribution, IDebugger, IDocumentation, IDocumentationRefactoring, IExtensionCapabilities, IExtensionContributions, IExtensionManifest, IGrammar, IHtmlLanguageParticipant, IIcon, IIconTheme, IInteractiveSession, IJSONValidation, IKeyBinding, ILanguage, ILocalizationContribution, IMenu, INamedMultiLineCheckedProblemPattern, INamedProblemMatcher, INamedProblemPattern, INotebookEntry, INotebookRendererContribution, IProblemPattern, IProductTheme, IRelaxedExtensionManifest, IRemoteHelp, ISearchFileLocationArgs, ISemanticTokenModifiers, ISemanticTokenScopes, ISemanticTokenTypes, ISnippet, IStartEntry, IStatusBarItem, ISubMenu, ITaskDefinitions, ITerminal, ITerminalQuickFix, ITranslation, ITypescriptServerPlugin, IView, IViewContainer, IViewsWelcome, IWalkthrough, IWalkthroughStep, IWatchingPattern, LimitedWorkspaceSupportType, MultiLineCheckedProblemPattern, NamedProblemPatterns, NotebookPreload };