vscode-languageserver-protocol 3.17.0-next.14 → 3.17.0-next.17
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.
- package/lib/common/api.d.ts +1 -22
- package/lib/common/api.js +1 -10
- package/lib/common/connection.d.ts +26 -2
- package/lib/common/proposed.diagnostic.d.ts +93 -68
- package/lib/common/proposed.diagnostic.js +12 -7
- package/lib/common/{proposed.notebooks.d.ts → proposed.notebook.d.ts} +81 -114
- package/lib/common/{proposed.notebooks.js → proposed.notebook.js} +28 -56
- package/lib/common/protocol.callHierarchy.d.ts +1 -1
- package/lib/common/protocol.colorProvider.d.ts +1 -1
- package/lib/common/protocol.configuration.d.ts +1 -14
- package/lib/common/protocol.configuration.js +1 -0
- package/lib/common/protocol.d.ts +266 -102
- package/lib/common/protocol.declaration.d.ts +2 -2
- package/lib/common/protocol.declaration.js +2 -2
- package/lib/common/protocol.foldingRange.d.ts +2 -19
- package/lib/common/protocol.foldingRange.js +1 -19
- package/lib/common/protocol.implementation.d.ts +2 -2
- package/lib/common/protocol.implementation.js +2 -2
- package/lib/common/protocol.inlayHint.d.ts +115 -0
- package/lib/common/protocol.inlayHint.js +44 -0
- package/lib/common/protocol.inlineValue.d.ts +91 -0
- package/lib/common/protocol.inlineValue.js +31 -0
- package/lib/common/protocol.js +71 -15
- package/lib/common/protocol.linkedEditingRange.d.ts +2 -2
- package/lib/common/protocol.moniker.d.ts +13 -11
- package/lib/common/protocol.moniker.js +8 -8
- package/lib/common/protocol.progress.d.ts +2 -14
- package/lib/common/protocol.progress.js +4 -2
- package/lib/common/protocol.selectionRange.d.ts +2 -2
- package/lib/common/protocol.semanticTokens.d.ts +1 -1
- package/lib/common/protocol.typeDefinition.d.ts +1 -1
- package/lib/common/{proposed.typeHierarchy.d.ts → protocol.typeHierarchy.d.ts} +28 -22
- package/lib/common/{proposed.typeHierarchy.js → protocol.typeHierarchy.js} +7 -4
- package/lib/common/{protocol.workspaceFolders.d.ts → protocol.workspaceFolder.d.ts} +11 -41
- package/lib/common/{protocol.workspaceFolders.js → protocol.workspaceFolder.js} +1 -1
- package/metaModel.schema.json +686 -0
- package/package.json +3 -3
- package/lib/common/proposed.inlineValue.d.ts +0 -86
- package/lib/common/proposed.inlineValue.js +0 -29
|
@@ -1,52 +1,54 @@
|
|
|
1
1
|
import { ProtocolRequestType } from './messages';
|
|
2
|
-
import { WorkDoneProgressOptions, WorkDoneProgressParams, PartialResultParams, TextDocumentRegistrationOptions, TextDocumentPositionParams } from './protocol';
|
|
2
|
+
import type { WorkDoneProgressOptions, WorkDoneProgressParams, PartialResultParams, TextDocumentRegistrationOptions, TextDocumentPositionParams } from './protocol';
|
|
3
3
|
/**
|
|
4
4
|
* Moniker uniqueness level to define scope of the moniker.
|
|
5
5
|
*
|
|
6
6
|
* @since 3.16.0
|
|
7
7
|
*/
|
|
8
|
-
export declare
|
|
8
|
+
export declare namespace UniquenessLevel {
|
|
9
9
|
/**
|
|
10
10
|
* The moniker is only unique inside a document
|
|
11
11
|
*/
|
|
12
|
-
document = "document"
|
|
12
|
+
const document = "document";
|
|
13
13
|
/**
|
|
14
14
|
* The moniker is unique inside a project for which a dump got created
|
|
15
15
|
*/
|
|
16
|
-
project = "project"
|
|
16
|
+
const project = "project";
|
|
17
17
|
/**
|
|
18
18
|
* The moniker is unique inside the group to which a project belongs
|
|
19
19
|
*/
|
|
20
|
-
group = "group"
|
|
20
|
+
const group = "group";
|
|
21
21
|
/**
|
|
22
22
|
* The moniker is unique inside the moniker scheme.
|
|
23
23
|
*/
|
|
24
|
-
scheme = "scheme"
|
|
24
|
+
const scheme = "scheme";
|
|
25
25
|
/**
|
|
26
26
|
* The moniker is globally unique
|
|
27
27
|
*/
|
|
28
|
-
global = "global"
|
|
28
|
+
const global = "global";
|
|
29
29
|
}
|
|
30
|
+
export declare type UniquenessLevel = 'document' | 'project' | 'group' | 'scheme' | 'global';
|
|
30
31
|
/**
|
|
31
32
|
* The moniker kind.
|
|
32
33
|
*
|
|
33
34
|
* @since 3.16.0
|
|
34
35
|
*/
|
|
35
|
-
export declare
|
|
36
|
+
export declare namespace MonikerKind {
|
|
36
37
|
/**
|
|
37
38
|
* The moniker represent a symbol that is imported into a project
|
|
38
39
|
*/
|
|
39
|
-
import = "import"
|
|
40
|
+
const $import = "import";
|
|
40
41
|
/**
|
|
41
42
|
* The moniker represents a symbol that is exported from a project
|
|
42
43
|
*/
|
|
43
|
-
export = "export"
|
|
44
|
+
const $export = "export";
|
|
44
45
|
/**
|
|
45
46
|
* The moniker represents a symbol that is local to a project (e.g. a local
|
|
46
47
|
* variable of a function, a class not visible outside the project, ...)
|
|
47
48
|
*/
|
|
48
|
-
local = "local"
|
|
49
|
+
const local = "local";
|
|
49
50
|
}
|
|
51
|
+
export declare type MonikerKind = 'import' | 'export' | 'local';
|
|
50
52
|
/**
|
|
51
53
|
* Moniker definition to match LSIF 0.5 moniker definition.
|
|
52
54
|
*
|
|
@@ -16,23 +16,23 @@ var UniquenessLevel;
|
|
|
16
16
|
/**
|
|
17
17
|
* The moniker is only unique inside a document
|
|
18
18
|
*/
|
|
19
|
-
UniquenessLevel
|
|
19
|
+
UniquenessLevel.document = 'document';
|
|
20
20
|
/**
|
|
21
21
|
* The moniker is unique inside a project for which a dump got created
|
|
22
22
|
*/
|
|
23
|
-
UniquenessLevel
|
|
23
|
+
UniquenessLevel.project = 'project';
|
|
24
24
|
/**
|
|
25
25
|
* The moniker is unique inside the group to which a project belongs
|
|
26
26
|
*/
|
|
27
|
-
UniquenessLevel
|
|
27
|
+
UniquenessLevel.group = 'group';
|
|
28
28
|
/**
|
|
29
29
|
* The moniker is unique inside the moniker scheme.
|
|
30
30
|
*/
|
|
31
|
-
UniquenessLevel
|
|
31
|
+
UniquenessLevel.scheme = 'scheme';
|
|
32
32
|
/**
|
|
33
33
|
* The moniker is globally unique
|
|
34
34
|
*/
|
|
35
|
-
UniquenessLevel
|
|
35
|
+
UniquenessLevel.global = 'global';
|
|
36
36
|
})(UniquenessLevel = exports.UniquenessLevel || (exports.UniquenessLevel = {}));
|
|
37
37
|
/**
|
|
38
38
|
* The moniker kind.
|
|
@@ -44,16 +44,16 @@ var MonikerKind;
|
|
|
44
44
|
/**
|
|
45
45
|
* The moniker represent a symbol that is imported into a project
|
|
46
46
|
*/
|
|
47
|
-
MonikerKind
|
|
47
|
+
MonikerKind.$import = 'import';
|
|
48
48
|
/**
|
|
49
49
|
* The moniker represents a symbol that is exported from a project
|
|
50
50
|
*/
|
|
51
|
-
MonikerKind
|
|
51
|
+
MonikerKind.$export = 'export';
|
|
52
52
|
/**
|
|
53
53
|
* The moniker represents a symbol that is local to a project (e.g. a local
|
|
54
54
|
* variable of a function, a class not visible outside the project, ...)
|
|
55
55
|
*/
|
|
56
|
-
MonikerKind
|
|
56
|
+
MonikerKind.local = 'local';
|
|
57
57
|
})(MonikerKind = exports.MonikerKind || (exports.MonikerKind = {}));
|
|
58
58
|
/**
|
|
59
59
|
* A request to get the moniker of a symbol at a given text document position.
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { NotificationHandler, RequestHandler, ProgressType, ProgressToken } from 'vscode-jsonrpc';
|
|
2
2
|
import { uinteger } from 'vscode-languageserver-types';
|
|
3
3
|
import { ProtocolRequestType, ProtocolNotificationType } from './messages';
|
|
4
|
-
export interface WorkDoneProgressClientCapabilities {
|
|
5
|
-
/**
|
|
6
|
-
* Window specific client capabilities.
|
|
7
|
-
*/
|
|
8
|
-
window?: {
|
|
9
|
-
/**
|
|
10
|
-
* Whether client supports server initiated progress using the
|
|
11
|
-
* `window/workDoneProgress/create` request.
|
|
12
|
-
*
|
|
13
|
-
* Since 3.15.0
|
|
14
|
-
*/
|
|
15
|
-
workDoneProgress?: boolean;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
4
|
export interface WorkDoneProgressBegin {
|
|
19
5
|
kind: 'begin';
|
|
20
6
|
/**
|
|
@@ -98,6 +84,7 @@ export interface WorkDoneProgressCreateParams {
|
|
|
98
84
|
* reporting from the server.
|
|
99
85
|
*/
|
|
100
86
|
export declare namespace WorkDoneProgressCreateRequest {
|
|
87
|
+
const method: 'window/workDoneProgress/create';
|
|
101
88
|
const type: ProtocolRequestType<WorkDoneProgressCreateParams, void, never, void, void>;
|
|
102
89
|
type HandlerSignature = RequestHandler<WorkDoneProgressCreateParams, void, void>;
|
|
103
90
|
}
|
|
@@ -112,6 +99,7 @@ export interface WorkDoneProgressCancelParams {
|
|
|
112
99
|
* initiated on the server side.
|
|
113
100
|
*/
|
|
114
101
|
export declare namespace WorkDoneProgressCancelNotification {
|
|
102
|
+
const method: 'window/workDoneProgress/cancel';
|
|
115
103
|
const type: ProtocolNotificationType<WorkDoneProgressCancelParams, void>;
|
|
116
104
|
type HandlerSignature = NotificationHandler<WorkDoneProgressCancelParams>;
|
|
117
105
|
}
|
|
@@ -21,7 +21,8 @@ var WorkDoneProgress;
|
|
|
21
21
|
*/
|
|
22
22
|
var WorkDoneProgressCreateRequest;
|
|
23
23
|
(function (WorkDoneProgressCreateRequest) {
|
|
24
|
-
WorkDoneProgressCreateRequest.
|
|
24
|
+
WorkDoneProgressCreateRequest.method = 'window/workDoneProgress/create';
|
|
25
|
+
WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest.method);
|
|
25
26
|
})(WorkDoneProgressCreateRequest = exports.WorkDoneProgressCreateRequest || (exports.WorkDoneProgressCreateRequest = {}));
|
|
26
27
|
/**
|
|
27
28
|
* The `window/workDoneProgress/cancel` notification is sent from the client to the server to cancel a progress
|
|
@@ -29,6 +30,7 @@ var WorkDoneProgressCreateRequest;
|
|
|
29
30
|
*/
|
|
30
31
|
var WorkDoneProgressCancelNotification;
|
|
31
32
|
(function (WorkDoneProgressCancelNotification) {
|
|
32
|
-
WorkDoneProgressCancelNotification.
|
|
33
|
+
WorkDoneProgressCancelNotification.method = 'window/workDoneProgress/cancel';
|
|
34
|
+
WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
|
|
33
35
|
})(WorkDoneProgressCancelNotification = exports.WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = {}));
|
|
34
36
|
//# sourceMappingURL=protocol.progress.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestHandler } from 'vscode-jsonrpc';
|
|
2
2
|
import { TextDocumentIdentifier, Position, SelectionRange } from 'vscode-languageserver-types';
|
|
3
3
|
import { ProtocolRequestType } from './messages';
|
|
4
|
-
import { TextDocumentRegistrationOptions, WorkDoneProgressOptions, StaticRegistrationOptions, WorkDoneProgressParams, PartialResultParams } from './protocol';
|
|
4
|
+
import type { TextDocumentRegistrationOptions, WorkDoneProgressOptions, StaticRegistrationOptions, WorkDoneProgressParams, PartialResultParams } from './protocol';
|
|
5
5
|
export interface SelectionRangeClientCapabilities {
|
|
6
6
|
/**
|
|
7
7
|
* Whether implementation supports dynamic registration for selection range providers. If this is set to `true`
|
|
@@ -35,6 +35,6 @@ export interface SelectionRangeParams extends WorkDoneProgressParams, PartialRes
|
|
|
35
35
|
*/
|
|
36
36
|
export declare namespace SelectionRangeRequest {
|
|
37
37
|
const method: 'textDocument/selectionRange';
|
|
38
|
-
const type: ProtocolRequestType<SelectionRangeParams, SelectionRange[] | null, SelectionRange[],
|
|
38
|
+
const type: ProtocolRequestType<SelectionRangeParams, SelectionRange[] | null, SelectionRange[], void, SelectionRangeRegistrationOptions>;
|
|
39
39
|
type HandlerSignature = RequestHandler<SelectionRangeParams, SelectionRange[] | null, void>;
|
|
40
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextDocumentIdentifier, Range, uinteger, SemanticTokensEdit, SemanticTokensLegend, SemanticTokens, SemanticTokensDelta } from 'vscode-languageserver-types';
|
|
2
2
|
import { RequestHandler0, RequestHandler } from 'vscode-jsonrpc';
|
|
3
3
|
import { ProtocolRequestType, ProtocolRequestType0, RegistrationType } from './messages';
|
|
4
|
-
import { PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions, TextDocumentRegistrationOptions, StaticRegistrationOptions } from './protocol';
|
|
4
|
+
import type { PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions, TextDocumentRegistrationOptions, StaticRegistrationOptions } from './protocol';
|
|
5
5
|
/**
|
|
6
6
|
* @since 3.16.0
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestHandler } from 'vscode-jsonrpc';
|
|
2
2
|
import { Definition, DefinitionLink, LocationLink, Location } from 'vscode-languageserver-types';
|
|
3
3
|
import { ProtocolRequestType } from './messages';
|
|
4
|
-
import { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
4
|
+
import type { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
5
5
|
/**
|
|
6
6
|
* Since 3.6.0
|
|
7
7
|
*/
|
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
import { RequestHandler } from 'vscode-jsonrpc';
|
|
2
2
|
import { TypeHierarchyItem } from 'vscode-languageserver-types';
|
|
3
3
|
import { ProtocolRequestType } from './messages';
|
|
4
|
-
import { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
4
|
+
import type { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
5
5
|
/**
|
|
6
|
-
* @since 3.17.0
|
|
6
|
+
* @since 3.17.0
|
|
7
|
+
* @proposed
|
|
7
8
|
*/
|
|
8
|
-
export
|
|
9
|
+
export declare type TypeHierarchyClientCapabilities = {
|
|
9
10
|
/**
|
|
10
11
|
* Whether implementation supports dynamic registration. If this is set to `true`
|
|
11
12
|
* the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)`
|
|
12
13
|
* return value for the corresponding server capability as well.
|
|
13
14
|
*/
|
|
14
15
|
dynamicRegistration?: boolean;
|
|
15
|
-
}
|
|
16
|
+
};
|
|
16
17
|
/**
|
|
17
18
|
* Type hierarchy options used during static registration.
|
|
18
19
|
*
|
|
19
|
-
* @since 3.17.0
|
|
20
|
+
* @since 3.17.0
|
|
21
|
+
* @proposed
|
|
20
22
|
*/
|
|
21
|
-
export
|
|
22
|
-
}
|
|
23
|
+
export declare type TypeHierarchyOptions = WorkDoneProgressOptions;
|
|
23
24
|
/**
|
|
24
25
|
* Type hierarchy options used during static or dynamic registration.
|
|
25
26
|
*
|
|
26
|
-
* @since 3.17.0
|
|
27
|
+
* @since 3.17.0
|
|
28
|
+
* @proposed
|
|
27
29
|
*/
|
|
28
|
-
export
|
|
29
|
-
}
|
|
30
|
+
export declare type TypeHierarchyRegistrationOptions = TextDocumentRegistrationOptions & TypeHierarchyOptions & StaticRegistrationOptions;
|
|
30
31
|
/**
|
|
31
32
|
* The parameter of a `textDocument/prepareTypeHierarchy` request.
|
|
32
33
|
*
|
|
33
|
-
* @since 3.17.0
|
|
34
|
+
* @since 3.17.0
|
|
35
|
+
* @proposed
|
|
34
36
|
*/
|
|
35
|
-
export
|
|
36
|
-
}
|
|
37
|
+
export declare type TypeHierarchyPrepareParams = TextDocumentPositionParams & WorkDoneProgressParams;
|
|
37
38
|
/**
|
|
38
39
|
* A request to result a `TypeHierarchyItem` in a document at a given position.
|
|
39
40
|
* Can be used as an input to a subtypes or supertypes type hierarchy.
|
|
40
41
|
*
|
|
41
|
-
* @since 3.17.0
|
|
42
|
+
* @since 3.17.0
|
|
43
|
+
* @proposed
|
|
42
44
|
*/
|
|
43
45
|
export declare namespace TypeHierarchyPrepareRequest {
|
|
44
46
|
const method: 'textDocument/prepareTypeHierarchy';
|
|
@@ -48,15 +50,17 @@ export declare namespace TypeHierarchyPrepareRequest {
|
|
|
48
50
|
/**
|
|
49
51
|
* The parameter of a `typeHierarchy/supertypes` request.
|
|
50
52
|
*
|
|
51
|
-
* @since 3.17.0
|
|
53
|
+
* @since 3.17.0
|
|
54
|
+
* @proposed
|
|
52
55
|
*/
|
|
53
|
-
export
|
|
56
|
+
export declare type TypeHierarchySupertypesParams = WorkDoneProgressParams & PartialResultParams & {
|
|
54
57
|
item: TypeHierarchyItem;
|
|
55
|
-
}
|
|
58
|
+
};
|
|
56
59
|
/**
|
|
57
60
|
* A request to resolve the supertypes for a given `TypeHierarchyItem`.
|
|
58
61
|
*
|
|
59
|
-
* @since 3.17.0
|
|
62
|
+
* @since 3.17.0
|
|
63
|
+
* @proposed
|
|
60
64
|
*/
|
|
61
65
|
export declare namespace TypeHierarchySupertypesRequest {
|
|
62
66
|
const method: 'typeHierarchy/supertypes';
|
|
@@ -66,15 +70,17 @@ export declare namespace TypeHierarchySupertypesRequest {
|
|
|
66
70
|
/**
|
|
67
71
|
* The parameter of a `typeHierarchy/subtypes` request.
|
|
68
72
|
*
|
|
69
|
-
* @since 3.17.0
|
|
73
|
+
* @since 3.17.0
|
|
74
|
+
* @proposed
|
|
70
75
|
*/
|
|
71
|
-
export
|
|
76
|
+
export declare type TypeHierarchySubtypesParams = WorkDoneProgressParams & PartialResultParams & {
|
|
72
77
|
item: TypeHierarchyItem;
|
|
73
|
-
}
|
|
78
|
+
};
|
|
74
79
|
/**
|
|
75
80
|
* A request to resolve the subtypes for a given `TypeHierarchyItem`.
|
|
76
81
|
*
|
|
77
|
-
* @since 3.17.0
|
|
82
|
+
* @since 3.17.0
|
|
83
|
+
* @proposed
|
|
78
84
|
*/
|
|
79
85
|
export declare namespace TypeHierarchySubtypesRequest {
|
|
80
86
|
const method: 'typeHierarchy/subtypes';
|
|
@@ -10,7 +10,8 @@ const messages_1 = require("./messages");
|
|
|
10
10
|
* A request to result a `TypeHierarchyItem` in a document at a given position.
|
|
11
11
|
* Can be used as an input to a subtypes or supertypes type hierarchy.
|
|
12
12
|
*
|
|
13
|
-
* @since 3.17.0
|
|
13
|
+
* @since 3.17.0
|
|
14
|
+
* @proposed
|
|
14
15
|
*/
|
|
15
16
|
var TypeHierarchyPrepareRequest;
|
|
16
17
|
(function (TypeHierarchyPrepareRequest) {
|
|
@@ -20,7 +21,8 @@ var TypeHierarchyPrepareRequest;
|
|
|
20
21
|
/**
|
|
21
22
|
* A request to resolve the supertypes for a given `TypeHierarchyItem`.
|
|
22
23
|
*
|
|
23
|
-
* @since 3.17.0
|
|
24
|
+
* @since 3.17.0
|
|
25
|
+
* @proposed
|
|
24
26
|
*/
|
|
25
27
|
var TypeHierarchySupertypesRequest;
|
|
26
28
|
(function (TypeHierarchySupertypesRequest) {
|
|
@@ -30,11 +32,12 @@ var TypeHierarchySupertypesRequest;
|
|
|
30
32
|
/**
|
|
31
33
|
* A request to resolve the subtypes for a given `TypeHierarchyItem`.
|
|
32
34
|
*
|
|
33
|
-
* @since 3.17.0
|
|
35
|
+
* @since 3.17.0
|
|
36
|
+
* @proposed
|
|
34
37
|
*/
|
|
35
38
|
var TypeHierarchySubtypesRequest;
|
|
36
39
|
(function (TypeHierarchySubtypesRequest) {
|
|
37
40
|
TypeHierarchySubtypesRequest.method = 'typeHierarchy/subtypes';
|
|
38
41
|
TypeHierarchySubtypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest.method);
|
|
39
42
|
})(TypeHierarchySubtypesRequest = exports.TypeHierarchySubtypesRequest || (exports.TypeHierarchySubtypesRequest = {}));
|
|
40
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=protocol.typeHierarchy.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { WorkspaceFolder } from 'vscode-languageserver-types';
|
|
1
2
|
import { RequestHandler0, NotificationHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';
|
|
2
3
|
import { ProtocolRequestType0, ProtocolNotificationType } from './messages';
|
|
3
4
|
export interface WorkspaceFoldersInitializeParams {
|
|
@@ -6,52 +7,21 @@ export interface WorkspaceFoldersInitializeParams {
|
|
|
6
7
|
*/
|
|
7
8
|
workspaceFolders: WorkspaceFolder[] | null;
|
|
8
9
|
}
|
|
9
|
-
export interface WorkspaceFoldersClientCapabilities {
|
|
10
|
-
/**
|
|
11
|
-
* The workspace client capabilities
|
|
12
|
-
*/
|
|
13
|
-
workspace?: {
|
|
14
|
-
/**
|
|
15
|
-
* The client has support for workspace folders
|
|
16
|
-
*
|
|
17
|
-
* @since 3.6.0
|
|
18
|
-
*/
|
|
19
|
-
workspaceFolders?: boolean;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
10
|
export interface WorkspaceFoldersServerCapabilities {
|
|
23
11
|
/**
|
|
24
|
-
* The workspace
|
|
25
|
-
*/
|
|
26
|
-
workspace?: {
|
|
27
|
-
workspaceFolders?: {
|
|
28
|
-
/**
|
|
29
|
-
* The Server has support for workspace folders
|
|
30
|
-
*/
|
|
31
|
-
supported?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the server wants to receive workspace folder
|
|
34
|
-
* change notifications.
|
|
35
|
-
*
|
|
36
|
-
* If a strings is provided the string is treated as a ID
|
|
37
|
-
* under which the notification is registered on the client
|
|
38
|
-
* side. The ID can be used to unregister for these events
|
|
39
|
-
* using the `client/unregisterCapability` request.
|
|
40
|
-
*/
|
|
41
|
-
changeNotifications?: string | boolean;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
export interface WorkspaceFolder {
|
|
46
|
-
/**
|
|
47
|
-
* The associated URI for this workspace folder.
|
|
12
|
+
* The Server has support for workspace folders
|
|
48
13
|
*/
|
|
49
|
-
|
|
14
|
+
supported?: boolean;
|
|
50
15
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
16
|
+
* Whether the server wants to receive workspace folder
|
|
17
|
+
* change notifications.
|
|
18
|
+
*
|
|
19
|
+
* If a strings is provided the string is treated as a ID
|
|
20
|
+
* under which the notification is registered on the client
|
|
21
|
+
* side. The ID can be used to unregister for these events
|
|
22
|
+
* using the `client/unregisterCapability` request.
|
|
53
23
|
*/
|
|
54
|
-
|
|
24
|
+
changeNotifications?: string | boolean;
|
|
55
25
|
}
|
|
56
26
|
/**
|
|
57
27
|
* The `workspace/workspaceFolders` is sent from the server to the client to fetch the open workspace folders.
|
|
@@ -21,4 +21,4 @@ var DidChangeWorkspaceFoldersNotification;
|
|
|
21
21
|
(function (DidChangeWorkspaceFoldersNotification) {
|
|
22
22
|
DidChangeWorkspaceFoldersNotification.type = new messages_1.ProtocolNotificationType('workspace/didChangeWorkspaceFolders');
|
|
23
23
|
})(DidChangeWorkspaceFoldersNotification = exports.DidChangeWorkspaceFoldersNotification || (exports.DidChangeWorkspaceFoldersNotification = {}));
|
|
24
|
-
//# sourceMappingURL=protocol.
|
|
24
|
+
//# sourceMappingURL=protocol.workspaceFolder.js.map
|