vscode-languageserver-protocol 3.15.0-next.8 → 3.15.2
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/.eslintignore +1 -0
- package/lib/main.d.ts +53 -31
- package/lib/main.js +34 -23
- package/lib/messages.d.ts +15 -0
- package/lib/messages.js +31 -0
- package/lib/protocol.callHierarchy.proposed.d.ts +133 -70
- package/lib/protocol.callHierarchy.proposed.js +26 -22
- package/lib/protocol.colorProvider.d.ts +13 -26
- package/lib/protocol.colorProvider.js +5 -2
- package/lib/protocol.configuration.d.ts +3 -2
- package/lib/protocol.configuration.js +2 -2
- package/lib/protocol.d.ts +979 -605
- package/lib/protocol.declaration.d.ts +18 -28
- package/lib/protocol.declaration.js +4 -1
- package/lib/protocol.foldingRange.d.ts +20 -33
- package/lib/protocol.foldingRange.js +4 -1
- package/lib/protocol.implementation.d.ts +20 -28
- package/lib/protocol.implementation.js +4 -1
- package/lib/protocol.js +160 -89
- package/lib/{protocol.progress.proposed.d.ts → protocol.progress.d.ts} +11 -7
- package/lib/{protocol.progress.proposed.js → protocol.progress.js} +3 -2
- package/lib/protocol.selectionRange.d.ts +10 -23
- package/lib/protocol.selectionRange.js +4 -1
- package/lib/protocol.sematicTokens.proposed.d.ts +240 -0
- package/lib/protocol.sematicTokens.proposed.js +93 -0
- package/lib/protocol.typeDefinition.d.ts +20 -28
- package/lib/protocol.typeDefinition.js +4 -1
- package/lib/protocol.workspaceFolders.d.ts +5 -4
- package/lib/protocol.workspaceFolders.js +3 -3
- package/lib/utils/is.d.ts +0 -1
- package/lib/utils/is.js +0 -4
- package/package.json +5 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RequestHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';
|
|
2
|
+
import { ProtocolRequestType } from './messages';
|
|
2
3
|
import { PartialResultParams } from './protocol';
|
|
3
4
|
export interface ConfigurationClientCapabilities {
|
|
4
5
|
/**
|
|
@@ -21,7 +22,7 @@ export interface ConfigurationClientCapabilities {
|
|
|
21
22
|
* change event and empty the cache if such an event is received.
|
|
22
23
|
*/
|
|
23
24
|
export declare namespace ConfigurationRequest {
|
|
24
|
-
const type:
|
|
25
|
+
const type: ProtocolRequestType<ConfigurationParams & PartialResultParams, any[], never, void, void>;
|
|
25
26
|
type HandlerSignature = RequestHandler<ConfigurationParams, any[], void>;
|
|
26
27
|
type MiddlewareSignature = (params: ConfigurationParams, token: CancellationToken, next: HandlerSignature) => HandlerResult<any[], void>;
|
|
27
28
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
'use strict';
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const
|
|
7
|
+
const messages_1 = require("./messages");
|
|
8
8
|
/**
|
|
9
9
|
* The 'workspace/configuration' request is sent from the server to the client to fetch a certain
|
|
10
10
|
* configuration setting.
|
|
@@ -16,5 +16,5 @@ const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
|
16
16
|
*/
|
|
17
17
|
var ConfigurationRequest;
|
|
18
18
|
(function (ConfigurationRequest) {
|
|
19
|
-
ConfigurationRequest.type = new
|
|
19
|
+
ConfigurationRequest.type = new messages_1.ProtocolRequestType('workspace/configuration');
|
|
20
20
|
})(ConfigurationRequest = exports.ConfigurationRequest || (exports.ConfigurationRequest = {}));
|