add hw2
This commit is contained in:
24
node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js
generated
vendored
Normal file
24
node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ConfigurationRequest = void 0;
|
||||
const messages_1 = require("./messages");
|
||||
//---- Get Configuration request ----
|
||||
/**
|
||||
* The 'workspace/configuration' request is sent from the server to the client to fetch a certain
|
||||
* configuration setting.
|
||||
*
|
||||
* This pull model replaces the old push model were the client signaled configuration change via an
|
||||
* event. If the server still needs to react to configuration changes (since the server caches the
|
||||
* result of `workspace/configuration` requests) the server should register for an empty configuration
|
||||
* change event and empty the cache if such an event is received.
|
||||
*/
|
||||
var ConfigurationRequest;
|
||||
(function (ConfigurationRequest) {
|
||||
ConfigurationRequest.method = 'workspace/configuration';
|
||||
ConfigurationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
||||
ConfigurationRequest.type = new messages_1.ProtocolRequestType(ConfigurationRequest.method);
|
||||
})(ConfigurationRequest || (exports.ConfigurationRequest = ConfigurationRequest = {}));
|
||||
Reference in New Issue
Block a user