Commit c174571 1 parent d5f68e0 commit c174571 Copy full SHA for c174571
File tree 6 files changed +60
-57
lines changed
6 files changed +60
-57
lines changed Original file line number Diff line number Diff line change 23
23
/// <reference path='./vscode/typings/vscode.tests.d.ts' />
24
24
/// <reference path='./vscode/typings/vscode.l10n.d.ts' />
25
25
26
- /// <reference path='./vscode/typings-pending /vscode.d.ts' />
27
- /// <reference path='./vscode/typings-pending /vscode.proposed.d.ts' />
26
+ /// <reference path='./vscode/typings/vscode.proposed.documentFiltersExclusive .d.ts' />
27
+ /// <reference path='./vscode/typings/vscode.proposed.workspaceTrust .d.ts' />
28
28
29
29
/// <reference path='./vscode/typings/vscode.proposed.authSession.d.ts' />
30
30
/// <reference path='./vscode/typings/vscode.proposed.diffCommand.d.ts' />
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -954,6 +954,21 @@ declare module 'vscode' {
954
954
FocusOut = 3 ,
955
955
}
956
956
957
+ /**
958
+ * Defines a port mapping used for localhost inside the webview.
959
+ */
960
+ export interface WebviewPortMapping {
961
+ /**
962
+ * Localhost port to remap inside the webview.
963
+ */
964
+ readonly webviewPort : number ;
965
+
966
+ /**
967
+ * Destination port. The `webviewPort` is resolved to this port.
968
+ */
969
+ readonly extensionHostPort : number ;
970
+ }
971
+
957
972
/**
958
973
* Content settings for a webview.
959
974
*/
Original file line number Diff line number Diff line change
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
+ // todo@jrieken add issue reference
9
+
10
+ export interface DocumentFilter {
11
+ readonly exclusive ?: boolean ;
12
+ }
13
+ }
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments