vscode-languageclient
Advanced tools
Comparing version 0.10.0-pre.18 to 0.10.0-pre.19
@@ -45,3 +45,3 @@ /*--------------------------------------------------------- | ||
didChangeConfiguration: function (params) { return connection.sendNotification(protocol_1.DidChangeConfigurationNotification.type, params); }, | ||
didChangeFiles: function (params) { return connection.sendNotification(protocol_1.DidChangeFilesNotification.type, params); }, | ||
didChangeWatchedFiles: function (params) { return connection.sendNotification(protocol_1.DidChangeWatchedFilesNotification.type, params); }, | ||
didOpenTextDocument: function (params) { return connection.sendNotification(protocol_1.DidOpenTextDocumentNotification.type, params); }, | ||
@@ -304,3 +304,3 @@ didChangeTextDocument: function (params) { return connection.sendNotification(protocol_1.DidChangeTextDocumentNotification.type, params); }, | ||
if (_this.isConnectionActive()) { | ||
connection.didChangeFiles({ changes: _this._fileEvents }); | ||
connection.didChangeWatchedFiles({ changes: _this._fileEvents }); | ||
} | ||
@@ -307,0 +307,0 @@ _this._fileEvents = []; |
@@ -174,6 +174,6 @@ import { RequestType, NotificationType } from 'vscode-jsonrpc'; | ||
} | ||
export declare namespace DidChangeFilesNotification { | ||
let type: NotificationType<DidChangeFilesParams>; | ||
export declare namespace DidChangeWatchedFilesNotification { | ||
let type: NotificationType<DidChangeWatchedFilesParams>; | ||
} | ||
export interface DidChangeFilesParams { | ||
export interface DidChangeWatchedFilesParams { | ||
changes: FileEvent[]; | ||
@@ -180,0 +180,0 @@ } |
@@ -83,6 +83,6 @@ /*--------------------------------------------------------- | ||
})(DidCloseTextDocumentNotification = exports.DidCloseTextDocumentNotification || (exports.DidCloseTextDocumentNotification = {})); | ||
var DidChangeFilesNotification; | ||
(function (DidChangeFilesNotification) { | ||
DidChangeFilesNotification.type = { method: 'workspace/didChangeFiles' }; | ||
})(DidChangeFilesNotification = exports.DidChangeFilesNotification || (exports.DidChangeFilesNotification = {})); | ||
var DidChangeWatchedFilesNotification; | ||
(function (DidChangeWatchedFilesNotification) { | ||
DidChangeWatchedFilesNotification.type = { method: 'workspace/didChangeFiles' }; | ||
})(DidChangeWatchedFilesNotification = exports.DidChangeWatchedFilesNotification || (exports.DidChangeWatchedFilesNotification = {})); | ||
var FileChangeType; | ||
@@ -89,0 +89,0 @@ (function (FileChangeType) { |
{ | ||
"name": "vscode-languageclient", | ||
"description": "VSCode Language client implementation", | ||
"version": "0.10.0-pre.18", | ||
"version": "0.10.0-pre.19", | ||
"author": "Visual Studio Code Team", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
62976