@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,275 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // https://github.com/microsoft/vscode/issues/59921
9
-
10
- /**
11
- * The parameters of a query for text search. All optional booleans default to `false`.
12
- */
13
- export interface TextSearchQueryNew {
14
- /**
15
- * The text pattern to search for.
16
- *
17
- * If explicitly contains a newline character (`\n`), the default search behavior
18
- * will automatically enable {@link isMultiline}.
19
- */
20
- pattern: string;
21
-
22
- /**
23
- * Whether or not `pattern` should match multiple lines of text.
24
- *
25
- * If using the default search provider, this will be interpreted as `true` if
26
- * `pattern` contains a newline character (`\n`).
27
- */
28
- isMultiline?: boolean;
29
-
30
- /**
31
- * Whether or not `pattern` should be interpreted as a regular expression.
32
- *
33
- * If using the default search provider, this will be interpreted case-insensitively
34
- * if {@link isCaseSensitive} is `false` or not set.
35
- */
36
- isRegExp?: boolean;
37
-
38
- /**
39
- * Whether or not the search should be case-sensitive.
40
- *
41
- * If using the default search provider, this can be affected by the `search.smartCase` setting.
42
- * See the setting description for more information.
43
- */
44
- isCaseSensitive?: boolean;
45
-
46
- /**
47
- * Whether or not to search for whole word matches only.
48
- *
49
- * If enabled, the default search provider will check for boundary characters
50
- * (regex pattern `\b`) surrounding the {@link pattern} to see whether something
51
- * is a word match.
52
- */
53
- isWordMatch?: boolean;
54
- }
55
-
56
- /**
57
- * Options that apply to text search.
58
- */
59
- export interface TextSearchProviderOptions {
60
-
61
- folderOptions: {
62
- /**
63
- * The root folder to search within.
64
- */
65
- folder: Uri;
66
-
67
- /**
68
- * Files that match an `includes` glob pattern should be included in the search.
69
- */
70
- includes: string[];
71
-
72
- /**
73
- * Files that match an `excludes` glob pattern should be excluded from the search.
74
- */
75
- excludes: GlobPattern[];
76
-
77
- /**
78
- * Whether symlinks should be followed while searching.
79
- * For more info, see the setting description for `search.followSymlinks`.
80
- */
81
- followSymlinks: boolean;
82
-
83
- /**
84
- * Which file locations we should look for ignore (.gitignore or .ignore) files to respect.
85
- */
86
- useIgnoreFiles: {
87
- /**
88
- * Use ignore files at the current workspace root.
89
- */
90
- local: boolean;
91
- /**
92
- * Use ignore files at the parent directory. If set, {@link TextSearchProviderOptions.useIgnoreFiles.local} should also be `true`.
93
- */
94
- parent: boolean;
95
- /**
96
- * Use global ignore files. If set, {@link TextSearchProviderOptions.useIgnoreFiles.local} should also be `true`.
97
- */
98
- global: boolean;
99
- };
100
-
101
- /**
102
- * Interpret files using this encoding.
103
- * See the vscode setting `"files.encoding"`
104
- */
105
- encoding: string;
106
- }[];
107
-
108
- /**
109
- * The maximum number of results to be returned.
110
- */
111
- maxResults: number;
112
-
113
- /**
114
- * Options to specify the size of the result text preview.
115
- */
116
- previewOptions: {
117
- /**
118
- * The maximum number of lines in the preview.
119
- * Only search providers that support multiline search will ever return more than one line in the match.
120
- * Defaults to 100.
121
- */
122
- matchLines: number;
123
-
124
- /**
125
- * The maximum number of characters included per line.
126
- * Defaults to 10000.
127
- */
128
- charsPerLine: number;
129
- };
130
-
131
- /**
132
- * Exclude files larger than `maxFileSize` in bytes.
133
- */
134
- maxFileSize: number | undefined;
135
-
136
- /**
137
- * Number of lines of context to include before and after each match.
138
- */
139
- surroundingContext: number;
140
- }
141
-
142
- /**
143
- * Information collected when text search is complete.
144
- */
145
- export interface TextSearchCompleteNew {
146
- /**
147
- * Whether the search hit the limit on the maximum number of search results.
148
- * `maxResults` on {@linkcode TextSearchProviderOptions} specifies the max number of results.
149
- * - If exactly that number of matches exist, this should be false.
150
- * - If `maxResults` matches are returned and more exist, this should be true.
151
- * - If search hits an internal limit which is less than `maxResults`, this should be true.
152
- */
153
- limitHit?: boolean;
154
- }
155
-
156
- /**
157
- * A query match instance in a file.
158
- *
159
- * For example, consider this excerpt:
160
- *
161
- * ```ts
162
- * const bar = 1;
163
- * console.log(bar);
164
- * const foo = bar;
165
- * ```
166
- *
167
- * If the query is `log`, then the line `console.log(bar);` should be represented using a {@link TextSearchMatchNew}.
168
- */
169
- export class TextSearchMatchNew {
170
- /**
171
- * @param uri The uri for the matching document.
172
- * @param ranges The ranges associated with this match.
173
- * @param previewText The text that is used to preview the match. The highlighted range in `previewText` is specified in `ranges`.
174
- */
175
- constructor(uri: Uri, ranges: { sourceRange: Range; previewRange: Range }[], previewText: string);
176
-
177
- /**
178
- * The uri for the matching document.
179
- */
180
- uri: Uri;
181
-
182
- /**
183
- * The ranges associated with this match.
184
- */
185
- ranges: {
186
- /**
187
- * The range of the match within the document, or multiple ranges for multiple matches.
188
- */
189
- sourceRange: Range;
190
- /**
191
- * The Range within `previewText` corresponding to the text of the match.
192
- */
193
- previewRange: Range;
194
- }[];
195
-
196
- previewText: string;
197
- }
198
-
199
- /**
200
- * The context lines of text that are not a part of a match,
201
- * but that surround a match line of type {@link TextSearchMatchNew}.
202
- *
203
- * For example, consider this excerpt:
204
- *
205
- * ```ts
206
- * const bar = 1;
207
- * console.log(bar);
208
- * const foo = bar;
209
- * ```
210
- *
211
- * If the query is `log`, then the lines `const bar = 1;` and `const foo = bar;`
212
- * should be represented using two separate {@link TextSearchContextNew} for the search instance.
213
- * This example assumes that the finder requests one line of surrounding context.
214
- */
215
- export class TextSearchContextNew {
216
- /**
217
- * @param uri The uri for the matching document.
218
- * @param text The line of context text.
219
- * @param lineNumber The line number of this line of context.
220
- */
221
- constructor(uri: Uri, text: string, lineNumber: number);
222
-
223
- /**
224
- * The uri for the matching document.
225
- */
226
- uri: Uri;
227
-
228
- /**
229
- * One line of text.
230
- * previewOptions.charsPerLine applies to this
231
- */
232
- text: string;
233
-
234
- /**
235
- * The line number of this line of context.
236
- */
237
- lineNumber: number;
238
- }
239
-
240
- /**
241
- * A result payload for a text search, pertaining to {@link TextSearchMatchNew matches}
242
- * and its associated {@link TextSearchContextNew context} within a single file.
243
- */
244
- export type TextSearchResultNew = TextSearchMatchNew | TextSearchContextNew;
245
-
246
- /**
247
- * A TextSearchProvider provides search results for text results inside files in the workspace.
248
- */
249
- export interface TextSearchProviderNew {
250
- /**
251
- * WARNING: VERY EXPERIMENTAL.
252
- *
253
- * Provide results that match the given text pattern.
254
- * @param query The parameters for this query.
255
- * @param options A set of options to consider while searching.
256
- * @param progress A progress callback that must be invoked for all {@link TextSearchResultNew results}.
257
- * These results can be direct matches, or context that surrounds matches.
258
- * @param token A cancellation token.
259
- */
260
- provideTextSearchResults(query: TextSearchQueryNew, options: TextSearchProviderOptions, progress: Progress<TextSearchResultNew>, token: CancellationToken): ProviderResult<TextSearchCompleteNew>;
261
- }
262
-
263
- export namespace workspace {
264
- /**
265
- * Register a text search provider.
266
- *
267
- * Only one provider can be registered per scheme.
268
- *
269
- * @param scheme The provider will be invoked for workspace folders that have this file scheme.
270
- * @param provider The provider.
271
- * @return A {@link Disposable} that unregisters this provider when being disposed.
272
- */
273
- export function registerTextSearchProviderNew(scheme: string, provider: TextSearchProviderNew): Disposable;
274
- }
275
- }
@@ -1,163 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // https://github.com/microsoft/vscode/issues/84297
9
-
10
- export class TimelineItem {
11
- /**
12
- * A timestamp (in milliseconds since 1 January 1970 00:00:00) for when the timeline item occurred.
13
- */
14
- timestamp: number;
15
-
16
- /**
17
- * A human-readable string describing the timeline item.
18
- */
19
- label: string;
20
-
21
- /**
22
- * Optional id for the timeline item. It must be unique across all the timeline items provided by this source.
23
- *
24
- * If not provided, an id is generated using the timeline item's timestamp.
25
- */
26
- id?: string;
27
-
28
- /**
29
- * The icon path or {@link ThemeIcon} for the timeline item.
30
- */
31
- iconPath?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
32
-
33
- /**
34
- * A human readable string describing less prominent details of the timeline item.
35
- */
36
- description?: string;
37
-
38
- /**
39
- * The tooltip text when you hover over the timeline item.
40
- */
41
- tooltip?: string | MarkdownString | undefined;
42
-
43
- /**
44
- * The {@link Command} that should be executed when the timeline item is selected.
45
- */
46
- command?: Command;
47
-
48
- /**
49
- * Context value of the timeline item. This can be used to contribute specific actions to the item.
50
- * For example, a timeline item is given a context value as `commit`. When contributing actions to `timeline/item/context`
51
- * using `menus` extension point, you can specify context value for key `timelineItem` in `when` expression like `timelineItem == commit`.
52
- * ```
53
- * "contributes": {
54
- * "menus": {
55
- * "timeline/item/context": [
56
- * {
57
- * "command": "extension.copyCommitId",
58
- * "when": "timelineItem == commit"
59
- * }
60
- * ]
61
- * }
62
- * }
63
- * ```
64
- * This will show the `extension.copyCommitId` action only for items where `contextValue` is `commit`.
65
- */
66
- contextValue?: string;
67
-
68
- /**
69
- * Accessibility information used when screen reader interacts with this timeline item.
70
- */
71
- accessibilityInformation?: AccessibilityInformation;
72
-
73
- /**
74
- * @param label A human-readable string describing the timeline item
75
- * @param timestamp A timestamp (in milliseconds since 1 January 1970 00:00:00) for when the timeline item occurred
76
- */
77
- constructor(label: string, timestamp: number);
78
- }
79
-
80
- export interface TimelineChangeEvent {
81
- /**
82
- * The {@link Uri} of the resource for which the timeline changed.
83
- */
84
- uri: Uri;
85
-
86
- /**
87
- * A flag which indicates whether the entire timeline should be reset.
88
- */
89
- reset?: boolean;
90
- }
91
-
92
- export interface Timeline {
93
- readonly paging?: {
94
- /**
95
- * A provider-defined cursor specifying the starting point of timeline items which are after the ones returned.
96
- * Use `undefined` to signal that there are no more items to be returned.
97
- */
98
- readonly cursor: string | undefined;
99
- };
100
-
101
- /**
102
- * An array of {@link TimelineItem timeline items}.
103
- */
104
- readonly items: readonly TimelineItem[];
105
- }
106
-
107
- export interface TimelineOptions {
108
- /**
109
- * A provider-defined cursor specifying the starting point of the timeline items that should be returned.
110
- */
111
- cursor?: string;
112
-
113
- /**
114
- * An optional maximum number timeline items or the all timeline items newer (inclusive) than the timestamp or id that should be returned.
115
- * If `undefined` all timeline items should be returned.
116
- */
117
- limit?: number | { timestamp: number; id?: string };
118
- }
119
-
120
- export interface TimelineProvider {
121
- /**
122
- * An optional event to signal that the timeline for a source has changed.
123
- * To signal that the timeline for all resources (uris) has changed, do not pass any argument or pass `undefined`.
124
- */
125
- onDidChange?: Event<TimelineChangeEvent | undefined>;
126
-
127
- /**
128
- * An identifier of the source of the timeline items. This can be used to filter sources.
129
- */
130
- readonly id: string;
131
-
132
- /**
133
- * A human-readable string describing the source of the timeline items. This can be used as the display label when filtering sources.
134
- */
135
- readonly label: string;
136
-
137
- /**
138
- * Provide {@link TimelineItem timeline items} for a {@link Uri}.
139
- *
140
- * @param uri The {@link Uri} of the file to provide the timeline for.
141
- * @param options A set of options to determine how results should be returned.
142
- * @param token A cancellation token.
143
- * @return The {@link TimelineResult timeline result} or a thenable that resolves to such. The lack of a result
144
- * can be signaled by returning `undefined`, `null`, or an empty array.
145
- */
146
- provideTimeline(uri: Uri, options: TimelineOptions, token: CancellationToken): ProviderResult<Timeline>;
147
- }
148
-
149
- export namespace workspace {
150
- /**
151
- * Register a timeline provider.
152
- *
153
- * Multiple providers can be registered. In that case, providers are asked in
154
- * parallel and the results are merged. A failing provider (rejected promise or exception) will
155
- * not cause a failure of the whole operation.
156
- *
157
- * @param scheme A scheme or schemes that defines which documents this provider is applicable to. Can be `*` to target all documents.
158
- * @param provider A timeline provider.
159
- * @return A {@link Disposable} that unregisters this provider when being disposed.
160
- */
161
- export function registerTimelineProvider(scheme: string | string[], provider: TimelineProvider): Disposable;
162
- }
163
- }
@@ -1,26 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // https://github.com/microsoft/vscode/issues/91555
9
-
10
- export enum StandardTokenType {
11
- Other = 0,
12
- Comment = 1,
13
- String = 2,
14
- RegEx = 3
15
- }
16
-
17
- export interface TokenInformation {
18
- type: StandardTokenType;
19
- range: Range;
20
- }
21
-
22
- export namespace languages {
23
- /** @deprecated */
24
- export function getTokenInformationAtPosition(document: TextDocument, position: Position): Thenable<TokenInformation>;
25
- }
26
- }
@@ -1,30 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // https://github.com/microsoft/vscode/issues/170248
9
-
10
- export interface TreeView<T> extends Disposable {
11
- /**
12
- * Currently active item.
13
- */
14
- readonly activeItem: T | undefined;
15
- /**
16
- * Event that is fired when the {@link TreeView.activeItem active item} has changed
17
- */
18
- readonly onDidChangeActiveItem: Event<TreeViewActiveItemChangeEvent<T>>;
19
- }
20
-
21
- /**
22
- * The event that is fired when there is a change in {@link TreeView.activeItem tree view's active item}
23
- */
24
- export interface TreeViewActiveItemChangeEvent<T> {
25
- /**
26
- * Active item.
27
- */
28
- readonly activeItem: T | undefined;
29
- }
30
- }
@@ -1,28 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- export interface TreeView2<T> extends Disposable {
9
- readonly onDidExpandElement: Event<TreeViewExpansionEvent<T>>;
10
- readonly onDidCollapseElement: Event<TreeViewExpansionEvent<T>>;
11
- readonly selection: readonly T[];
12
- readonly onDidChangeSelection: Event<TreeViewSelectionChangeEvent<T>>;
13
- readonly visible: boolean;
14
- readonly onDidChangeVisibility: Event<TreeViewVisibilityChangeEvent>;
15
- readonly onDidChangeCheckboxState: Event<TreeCheckboxChangeEvent<T>>;
16
- title?: string;
17
- description?: string;
18
- badge?: ViewBadge | undefined;
19
- reveal(element: T, options?: { select?: boolean; focus?: boolean; expand?: boolean | number }): Thenable<void>;
20
-
21
- /**
22
- * An optional human-readable message that will be rendered in the view.
23
- * Only a subset of markdown is supported.
24
- * Setting the message to null, undefined, or empty string will remove the message from the view.
25
- */
26
- message?: string | MarkdownString;
27
- }
28
- }
@@ -1,13 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // https://github.com/microsoft/vscode/issues/61313 @alexr00
9
-
10
- export interface TreeView<T> extends Disposable {
11
- reveal(element: T | undefined, options?: { select?: boolean; focus?: boolean; expand?: boolean | number }): Thenable<void>;
12
- }
13
- }
@@ -1,48 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
- /**
8
- * Used as part of the ResolverResult if the extension has any candidate,
9
- * published, or forwarded ports.
10
- */
11
- export interface TunnelInformation {
12
- /**
13
- * Tunnels that are detected by the extension. The remotePort is used for display purposes.
14
- * The localAddress should be the complete local address (ex. localhost:1234) for connecting to the port. Tunnels provided through
15
- * environmentTunnels are read-only from the forwarded ports UI.
16
- */
17
- environmentTunnels?: TunnelDescription[];
18
-
19
- tunnelFeatures?: {
20
- elevation: boolean;
21
- /**
22
- * One of the the options must have the ID "private".
23
- */
24
- privacyOptions: TunnelPrivacy[];
25
- /**
26
- * Defaults to true for backwards compatibility.
27
- */
28
- protocol?: boolean;
29
- };
30
- }
31
-
32
- export interface TunnelProvider {
33
- /**
34
- * Provides port forwarding capabilities. If there is a resolver that already provids tunnels, then the resolver's provider will
35
- * be used. If multiple providers are registered, then only the first will be used.
36
- */
37
- provideTunnel(tunnelOptions: TunnelOptions, tunnelCreationOptions: TunnelCreationOptions, token: CancellationToken): ProviderResult<Tunnel>;
38
- }
39
-
40
- export namespace workspace {
41
- /**
42
- * Registering a tunnel provider enables port forwarding. This will cause the Ports view to show.
43
- * @param provider
44
- */
45
- export function registerTunnelProvider(provider: TunnelProvider, information: TunnelInformation): Thenable<Disposable>;
46
- }
47
-
48
- }
@@ -1,64 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // tunnels @alexr00
9
-
10
- export interface TunnelOptions {
11
- remoteAddress: { port: number; host: string };
12
- // The desired local port. If this port can't be used, then another will be chosen.
13
- localAddressPort?: number;
14
- label?: string;
15
- /**
16
- * @deprecated Use privacy instead
17
- */
18
- public?: boolean;
19
- privacy?: string;
20
- protocol?: string;
21
- }
22
-
23
- export interface TunnelDescription {
24
- remoteAddress: { port: number; host: string };
25
- //The complete local address(ex. localhost:1234)
26
- localAddress: { port: number; host: string } | string;
27
- /**
28
- * @deprecated Use privacy instead
29
- */
30
- public?: boolean;
31
- privacy?: string;
32
- // If protocol is not provided it is assumed to be http, regardless of the localAddress.
33
- protocol?: string;
34
- }
35
-
36
- export interface Tunnel extends TunnelDescription {
37
- // Implementers of Tunnel should fire onDidDispose when dispose is called.
38
- onDidDispose: Event<void>;
39
- dispose(): void | Thenable<void>;
40
- }
41
-
42
- export namespace workspace {
43
- /**
44
- * Forwards a port. If the current resolver implements RemoteAuthorityResolver:forwardPort then that will be used to make the tunnel.
45
- * By default, openTunnel only support localhost; however, RemoteAuthorityResolver:tunnelFactory can be used to support other ips.
46
- *
47
- * @throws When run in an environment without a remote.
48
- *
49
- * @param tunnelOptions The `localPort` is a suggestion only. If that port is not available another will be chosen.
50
- */
51
- export function openTunnel(tunnelOptions: TunnelOptions): Thenable<Tunnel>;
52
-
53
- /**
54
- * Gets an array of the currently available tunnels. This does not include environment tunnels, only tunnels that have been created by the user.
55
- * Note that these are of type TunnelDescription and cannot be disposed.
56
- */
57
- export let tunnels: Thenable<TunnelDescription[]>;
58
-
59
- /**
60
- * Fired when the list of tunnels has changed.
61
- */
62
- export const onDidChangeTunnels: Event<void>;
63
- }
64
- }
@@ -1,30 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- // https://github.com/microsoft/vscode/issues/120173
9
-
10
- /**
11
- * The object describing the properties of the workspace trust request
12
- */
13
- export interface WorkspaceTrustRequestOptions {
14
- /**
15
- * Custom message describing the user action that requires workspace
16
- * trust. If omitted, a generic message will be displayed in the workspace
17
- * trust request dialog.
18
- */
19
- readonly message?: string;
20
- }
21
-
22
- export namespace workspace {
23
- /**
24
- * Prompt the user to chose whether to trust the current workspace
25
- * @param options Optional object describing the properties of the
26
- * workspace trust request.
27
- */
28
- export function requestWorkspaceTrust(options?: WorkspaceTrustRequestOptions): Thenable<boolean | undefined>;
29
- }
30
- }