vscode-languageserver-protocol 3.15.0-next.8 → 3.15.0-next.9
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/.eslintrc.json +6 -0
- package/lib/main.d.ts +2 -2
- package/lib/protocol.colorProvider.d.ts +11 -23
- package/lib/protocol.d.ts +843 -564
- package/lib/protocol.declaration.d.ts +12 -25
- package/lib/protocol.foldingRange.d.ts +15 -31
- package/lib/protocol.implementation.d.ts +14 -25
- package/lib/protocol.js +67 -51
- package/lib/protocol.progress.proposed.d.ts +7 -4
- package/lib/protocol.selectionRange.d.ts +5 -21
- package/lib/protocol.typeDefinition.d.ts +14 -25
- package/package.json +5 -5
- package/vscode-languageserver-protocol.lsif +18295 -0
package/.eslintrc.json
ADDED
package/lib/main.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export declare namespace Proposed {
|
|
|
23
23
|
type WorkDoneProgressClientCapabilities = progress.WorkDoneProgressClientCapabilities;
|
|
24
24
|
type WorkDoneProgressBegin = progress.WorkDoneProgressBegin;
|
|
25
25
|
type WorkDoneProgressReport = progress.WorkDoneProgressReport;
|
|
26
|
-
type
|
|
26
|
+
type WorkDoneProgressEnd = progress.WorkDoneProgressEnd;
|
|
27
27
|
namespace WorkDoneProgress {
|
|
28
|
-
const type: ProgressType<progress.WorkDoneProgressBegin | progress.WorkDoneProgressReport | progress.
|
|
28
|
+
const type: ProgressType<progress.WorkDoneProgressBegin | progress.WorkDoneProgressReport | progress.WorkDoneProgressEnd>;
|
|
29
29
|
}
|
|
30
30
|
type WorkDoneProgressCreateParams = progress.WorkDoneProgressCreateParams;
|
|
31
31
|
namespace WorkDoneProgressCreateRequest {
|
|
@@ -1,33 +1,21 @@
|
|
|
1
1
|
import { RequestType, RequestHandler, ProgressType } from 'vscode-jsonrpc';
|
|
2
2
|
import { TextDocumentRegistrationOptions, StaticRegistrationOptions, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
3
3
|
import { TextDocumentIdentifier, Range, Color, ColorInformation, ColorPresentation } from 'vscode-languageserver-types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface DocumentColorClientCapabilities {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Whether implementation supports dynamic registration. If this is set to `true`
|
|
7
|
+
* the client supports the new `DocumentColorRegistrationOptions` return value
|
|
8
|
+
* for the corresponding server capability as well.
|
|
7
9
|
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Capabilities specific to the colorProvider
|
|
11
|
-
*/
|
|
12
|
-
colorProvider?: {
|
|
13
|
-
/**
|
|
14
|
-
* Whether implementation supports dynamic registration. If this is set to `true`
|
|
15
|
-
* the client supports the new `(ColorRegistrationOptions & StaticRegistrationOptions)`
|
|
16
|
-
* return value for the corresponding server capability as well.
|
|
17
|
-
*/
|
|
18
|
-
dynamicRegistration?: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
10
|
+
dynamicRegistration?: boolean;
|
|
21
11
|
}
|
|
22
|
-
export interface
|
|
23
|
-
}
|
|
24
|
-
export interface ColorRegistrationOptions extends TextDocumentRegistrationOptions, ColorOptions {
|
|
25
|
-
}
|
|
26
|
-
export interface ColorServerCapabilities {
|
|
12
|
+
export interface DocumentColorOptions extends WorkDoneProgressOptions {
|
|
27
13
|
/**
|
|
28
|
-
*
|
|
14
|
+
* Code lens has a resolve provider as well.
|
|
29
15
|
*/
|
|
30
|
-
|
|
16
|
+
resolveProvider?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface DocumentColorRegistrationOptions extends TextDocumentRegistrationOptions, StaticRegistrationOptions, DocumentColorOptions {
|
|
31
19
|
}
|
|
32
20
|
/**
|
|
33
21
|
* Parameters for a [DocumentColorRequest](#DocumentColorRequest).
|
|
@@ -45,7 +33,7 @@ export interface DocumentColorParams extends WorkDoneProgressParams, PartialResu
|
|
|
45
33
|
* that resolves to such.
|
|
46
34
|
*/
|
|
47
35
|
export declare namespace DocumentColorRequest {
|
|
48
|
-
const type: RequestType<DocumentColorParams, ColorInformation[], void,
|
|
36
|
+
const type: RequestType<DocumentColorParams, ColorInformation[], void, DocumentColorRegistrationOptions>;
|
|
49
37
|
const resultType: ProgressType<ColorInformation[]>;
|
|
50
38
|
type HandlerSignature = RequestHandler<DocumentColorParams, ColorInformation[], void>;
|
|
51
39
|
}
|