@codingame/monaco-languageclient-wrapper 2.7.1 → 2.7.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/dist/index.js +32 -19
- package/package.json +1 -1
- package/stats.html +1 -1
package/dist/index.js
CHANGED
|
@@ -16043,7 +16043,7 @@ var notebook = {};
|
|
|
16043
16043
|
Object.defineProperty(notebook, "__esModule", {
|
|
16044
16044
|
value: true
|
|
16045
16045
|
});
|
|
16046
|
-
notebook.NotebookDocumentSyncFeature = void 0;
|
|
16046
|
+
var NotebookDocumentSyncFeature_1 = notebook.NotebookDocumentSyncFeature = void 0;
|
|
16047
16047
|
const vscode$1 = vscodeCompatibility;
|
|
16048
16048
|
const minimatch$1 = minimatch_1;
|
|
16049
16049
|
const proto$2 = require$$1$1;
|
|
@@ -17168,7 +17168,7 @@ class NotebookDocumentSyncFeature {
|
|
|
17168
17168
|
|
|
17169
17169
|
}
|
|
17170
17170
|
|
|
17171
|
-
notebook.NotebookDocumentSyncFeature = NotebookDocumentSyncFeature;
|
|
17171
|
+
NotebookDocumentSyncFeature_1 = notebook.NotebookDocumentSyncFeature = NotebookDocumentSyncFeature;
|
|
17172
17172
|
NotebookDocumentSyncFeature.CellScheme = 'vscode-notebook-cell';
|
|
17173
17173
|
|
|
17174
17174
|
var configuration = {};
|
|
@@ -17448,7 +17448,7 @@ var textSynchronization = {};
|
|
|
17448
17448
|
Object.defineProperty(textSynchronization, "__esModule", {
|
|
17449
17449
|
value: true
|
|
17450
17450
|
});
|
|
17451
|
-
textSynchronization.DidSaveTextDocumentFeature = textSynchronization.WillSaveWaitUntilFeature = textSynchronization.WillSaveFeature = textSynchronization.DidChangeTextDocumentFeature = textSynchronization.DidCloseTextDocumentFeature = textSynchronization.DidOpenTextDocumentFeature = void 0;
|
|
17451
|
+
textSynchronization.DidSaveTextDocumentFeature = WillSaveWaitUntilFeature_1 = textSynchronization.WillSaveWaitUntilFeature = textSynchronization.WillSaveFeature = textSynchronization.DidChangeTextDocumentFeature = textSynchronization.DidCloseTextDocumentFeature = textSynchronization.DidOpenTextDocumentFeature = void 0;
|
|
17452
17452
|
const vscode_1$p = vscodeCompatibility;
|
|
17453
17453
|
const vscode_languageserver_protocol_1$r = require$$1$1;
|
|
17454
17454
|
const features_1$q = features;
|
|
@@ -17887,7 +17887,7 @@ class WillSaveWaitUntilFeature extends features_1$q.DynamicDocumentFeature {
|
|
|
17887
17887
|
|
|
17888
17888
|
}
|
|
17889
17889
|
|
|
17890
|
-
textSynchronization.WillSaveWaitUntilFeature = WillSaveWaitUntilFeature;
|
|
17890
|
+
var WillSaveWaitUntilFeature_1 = textSynchronization.WillSaveWaitUntilFeature = WillSaveWaitUntilFeature;
|
|
17891
17891
|
|
|
17892
17892
|
class DidSaveTextDocumentFeature extends features_1$q.TextDocumentEventFeature {
|
|
17893
17893
|
constructor(client) {
|
|
@@ -19354,7 +19354,7 @@ var fileSystemWatcher = {};
|
|
|
19354
19354
|
Object.defineProperty(fileSystemWatcher, "__esModule", {
|
|
19355
19355
|
value: true
|
|
19356
19356
|
});
|
|
19357
|
-
fileSystemWatcher.FileSystemWatcherFeature = void 0;
|
|
19357
|
+
var FileSystemWatcherFeature_1 = fileSystemWatcher.FileSystemWatcherFeature = void 0;
|
|
19358
19358
|
const vscode_1$b = vscodeCompatibility;
|
|
19359
19359
|
const vscode_languageserver_protocol_1$d = require$$1$1;
|
|
19360
19360
|
const features_1$c = features;
|
|
@@ -19472,7 +19472,7 @@ class FileSystemWatcherFeature {
|
|
|
19472
19472
|
|
|
19473
19473
|
}
|
|
19474
19474
|
|
|
19475
|
-
fileSystemWatcher.FileSystemWatcherFeature = FileSystemWatcherFeature;
|
|
19475
|
+
FileSystemWatcherFeature_1 = fileSystemWatcher.FileSystemWatcherFeature = FileSystemWatcherFeature;
|
|
19476
19476
|
|
|
19477
19477
|
var colorProvider = {};
|
|
19478
19478
|
|
|
@@ -20212,7 +20212,7 @@ var callHierarchy = {};
|
|
|
20212
20212
|
Object.defineProperty(callHierarchy, "__esModule", {
|
|
20213
20213
|
value: true
|
|
20214
20214
|
});
|
|
20215
|
-
callHierarchy.CallHierarchyFeature = void 0;
|
|
20215
|
+
var CallHierarchyFeature_1 = callHierarchy.CallHierarchyFeature = void 0;
|
|
20216
20216
|
const vscode_1$3 = vscodeCompatibility;
|
|
20217
20217
|
const vscode_languageserver_protocol_1$4 = require$$1$1;
|
|
20218
20218
|
const features_1$5 = features;
|
|
@@ -20321,7 +20321,7 @@ class CallHierarchyFeature extends features_1$5.TextDocumentLanguageFeature {
|
|
|
20321
20321
|
|
|
20322
20322
|
}
|
|
20323
20323
|
|
|
20324
|
-
callHierarchy.CallHierarchyFeature = CallHierarchyFeature;
|
|
20324
|
+
CallHierarchyFeature_1 = callHierarchy.CallHierarchyFeature = CallHierarchyFeature;
|
|
20325
20325
|
|
|
20326
20326
|
var semanticTokens = {};
|
|
20327
20327
|
|
|
@@ -20498,7 +20498,7 @@ var fileOperations = {};
|
|
|
20498
20498
|
Object.defineProperty(fileOperations, "__esModule", {
|
|
20499
20499
|
value: true
|
|
20500
20500
|
});
|
|
20501
|
-
fileOperations.WillDeleteFilesFeature = fileOperations.WillRenameFilesFeature = fileOperations.WillCreateFilesFeature = fileOperations.DidDeleteFilesFeature = fileOperations.DidRenameFilesFeature = fileOperations.DidCreateFilesFeature = void 0;
|
|
20501
|
+
var WillDeleteFilesFeature_1 = fileOperations.WillDeleteFilesFeature = WillRenameFilesFeature_1 = fileOperations.WillRenameFilesFeature = WillCreateFilesFeature_1 = fileOperations.WillCreateFilesFeature = DidDeleteFilesFeature_1 = fileOperations.DidDeleteFilesFeature = DidRenameFilesFeature_1 = fileOperations.DidRenameFilesFeature = DidCreateFilesFeature_1 = fileOperations.DidCreateFilesFeature = void 0;
|
|
20502
20502
|
const code$1 = vscodeCompatibility;
|
|
20503
20503
|
const minimatch = minimatch_1;
|
|
20504
20504
|
const proto$1 = require$$1$1;
|
|
@@ -20788,7 +20788,7 @@ class DidCreateFilesFeature extends NotificationFileOperationFeature {
|
|
|
20788
20788
|
|
|
20789
20789
|
}
|
|
20790
20790
|
|
|
20791
|
-
fileOperations.DidCreateFilesFeature = DidCreateFilesFeature;
|
|
20791
|
+
var DidCreateFilesFeature_1 = fileOperations.DidCreateFilesFeature = DidCreateFilesFeature;
|
|
20792
20792
|
|
|
20793
20793
|
class DidRenameFilesFeature extends CachingNotificationFileOperationFeature {
|
|
20794
20794
|
constructor(client) {
|
|
@@ -20815,7 +20815,7 @@ class DidRenameFilesFeature extends CachingNotificationFileOperationFeature {
|
|
|
20815
20815
|
|
|
20816
20816
|
}
|
|
20817
20817
|
|
|
20818
|
-
fileOperations.DidRenameFilesFeature = DidRenameFilesFeature;
|
|
20818
|
+
var DidRenameFilesFeature_1 = fileOperations.DidRenameFilesFeature = DidRenameFilesFeature;
|
|
20819
20819
|
|
|
20820
20820
|
class DidDeleteFilesFeature extends CachingNotificationFileOperationFeature {
|
|
20821
20821
|
constructor(client) {
|
|
@@ -20842,7 +20842,7 @@ class DidDeleteFilesFeature extends CachingNotificationFileOperationFeature {
|
|
|
20842
20842
|
|
|
20843
20843
|
}
|
|
20844
20844
|
|
|
20845
|
-
fileOperations.DidDeleteFilesFeature = DidDeleteFilesFeature;
|
|
20845
|
+
var DidDeleteFilesFeature_1 = fileOperations.DidDeleteFilesFeature = DidDeleteFilesFeature;
|
|
20846
20846
|
|
|
20847
20847
|
class RequestFileOperationFeature extends FileOperationFeature {
|
|
20848
20848
|
constructor(client, event, requestType, clientCapability, serverCapability, accessUri, createParams) {
|
|
@@ -20887,7 +20887,7 @@ class WillCreateFilesFeature extends RequestFileOperationFeature {
|
|
|
20887
20887
|
|
|
20888
20888
|
}
|
|
20889
20889
|
|
|
20890
|
-
fileOperations.WillCreateFilesFeature = WillCreateFilesFeature;
|
|
20890
|
+
var WillCreateFilesFeature_1 = fileOperations.WillCreateFilesFeature = WillCreateFilesFeature;
|
|
20891
20891
|
|
|
20892
20892
|
class WillRenameFilesFeature extends RequestFileOperationFeature {
|
|
20893
20893
|
constructor(client) {
|
|
@@ -20901,7 +20901,7 @@ class WillRenameFilesFeature extends RequestFileOperationFeature {
|
|
|
20901
20901
|
|
|
20902
20902
|
}
|
|
20903
20903
|
|
|
20904
|
-
fileOperations.WillRenameFilesFeature = WillRenameFilesFeature;
|
|
20904
|
+
var WillRenameFilesFeature_1 = fileOperations.WillRenameFilesFeature = WillRenameFilesFeature;
|
|
20905
20905
|
|
|
20906
20906
|
class WillDeleteFilesFeature extends RequestFileOperationFeature {
|
|
20907
20907
|
constructor(client) {
|
|
@@ -20915,7 +20915,7 @@ class WillDeleteFilesFeature extends RequestFileOperationFeature {
|
|
|
20915
20915
|
|
|
20916
20916
|
}
|
|
20917
20917
|
|
|
20918
|
-
fileOperations.WillDeleteFilesFeature = WillDeleteFilesFeature;
|
|
20918
|
+
WillDeleteFilesFeature_1 = fileOperations.WillDeleteFilesFeature = WillDeleteFilesFeature;
|
|
20919
20919
|
|
|
20920
20920
|
var linkedEditingRange = {};
|
|
20921
20921
|
|
|
@@ -21000,7 +21000,7 @@ var typeHierarchy = {};
|
|
|
21000
21000
|
Object.defineProperty(typeHierarchy, "__esModule", {
|
|
21001
21001
|
value: true
|
|
21002
21002
|
});
|
|
21003
|
-
typeHierarchy.TypeHierarchyFeature = void 0;
|
|
21003
|
+
var TypeHierarchyFeature_1 = typeHierarchy.TypeHierarchyFeature = void 0;
|
|
21004
21004
|
const vscode_1$2 = vscodeCompatibility;
|
|
21005
21005
|
const vscode_languageserver_protocol_1$2 = require$$1$1;
|
|
21006
21006
|
const features_1$2 = features;
|
|
@@ -21108,7 +21108,7 @@ class TypeHierarchyFeature extends features_1$2.TextDocumentLanguageFeature {
|
|
|
21108
21108
|
|
|
21109
21109
|
}
|
|
21110
21110
|
|
|
21111
|
-
typeHierarchy.TypeHierarchyFeature = TypeHierarchyFeature;
|
|
21111
|
+
TypeHierarchyFeature_1 = typeHierarchy.TypeHierarchyFeature = TypeHierarchyFeature;
|
|
21112
21112
|
|
|
21113
21113
|
var inlineValue = {};
|
|
21114
21114
|
|
|
@@ -28235,13 +28235,27 @@ class CGLSPConnectionProvider {
|
|
|
28235
28235
|
|
|
28236
28236
|
}
|
|
28237
28237
|
|
|
28238
|
+
const IGNORED_DYNAMIC_FEATURES = [FileSystemWatcherFeature_1, WillSaveWaitUntilFeature_1, NotebookDocumentSyncFeature_1, WillCreateFilesFeature_1, WillRenameFilesFeature_1, WillDeleteFilesFeature_1, DidRenameFilesFeature_1, DidCreateFilesFeature_1, DidDeleteFilesFeature_1, TypeHierarchyFeature_1, CallHierarchyFeature_1];
|
|
28239
|
+
|
|
28240
|
+
class CodinGameMonacoLanguageClient extends lib.MonacoLanguageClient {
|
|
28241
|
+
registerFeature(feature) {
|
|
28242
|
+
if (main.DynamicFeature.is(feature) && IGNORED_DYNAMIC_FEATURES.includes(feature.constructor)) {
|
|
28243
|
+
// ignore
|
|
28244
|
+
return;
|
|
28245
|
+
}
|
|
28246
|
+
|
|
28247
|
+
super.registerFeature(feature);
|
|
28248
|
+
}
|
|
28249
|
+
|
|
28250
|
+
}
|
|
28251
|
+
|
|
28238
28252
|
function createLanguageClient(id, infrastructure, _ref, errorHandler, middleware) {
|
|
28239
28253
|
let {
|
|
28240
28254
|
documentSelector,
|
|
28241
28255
|
synchronize,
|
|
28242
28256
|
initializationOptions
|
|
28243
28257
|
} = _ref;
|
|
28244
|
-
const client = new
|
|
28258
|
+
const client = new CodinGameMonacoLanguageClient({
|
|
28245
28259
|
id: "".concat(id, "-languageclient"),
|
|
28246
28260
|
name: "CodinGame ".concat(id, " Language Client"),
|
|
28247
28261
|
clientOptions: {
|
|
@@ -28255,7 +28269,6 @@ function createLanguageClient(id, infrastructure, _ref, errorHandler, middleware
|
|
|
28255
28269
|
},
|
|
28256
28270
|
connectionProvider: new CGLSPConnectionProvider(id, infrastructure)
|
|
28257
28271
|
});
|
|
28258
|
-
client.registerProposedFeatures();
|
|
28259
28272
|
registerExtensionFeatures(client, id);
|
|
28260
28273
|
return client;
|
|
28261
28274
|
}
|