@codingame/monaco-languageclient-wrapper 5.0.0-next.1 → 5.0.0-update-monaco.1
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/_virtual/_commonjsHelpers.js +1 -4
- package/dist/_virtual/_rollupPluginBabelHelpers.js +29 -29
- package/dist/_virtual/main3.js +4 -2
- package/dist/_virtual/protocol.inlineCompletion.js +2 -0
- package/dist/extensions/java/extension.js +1 -1
- package/dist/extensions/java/inlayHintsProvider.js +3 -4
- package/dist/extensions/java/protocol.js +15 -16
- package/dist/extensions/java/sourceAction.js +1 -1
- package/dist/index.d.ts +132 -9212
- package/dist/node_modules/delay/index.js +1 -2
- package/dist/node_modules/vscode-jsonrpc/browser.js +1 -1
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +1 -1
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +1 -1
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +84 -86
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +19 -17
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +11 -12
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +112 -113
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +1 -1
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +378 -380
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +1 -1
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +186 -182
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +110 -111
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +231 -232
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +1 -1
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +5 -4
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +1 -1
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +41 -41
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +22 -20
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +16 -15
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +41 -37
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +45 -39
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +16 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +22 -20
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +16 -15
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +141 -69
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +24 -22
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +186 -181
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +26 -24
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +40 -36
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +10 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +22 -20
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +16 -15
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +1 -1
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +363 -338
- package/dist/src/createLanguageClient.js +41 -16
- package/dist/src/extensions/cobol.js +3 -3
- package/dist/src/extensions/tools.js +5 -1
- package/dist/src/extensions.js +6 -3
- package/dist/src/infrastructure.js +17 -2
- package/dist/src/languageClient.js +10 -12
- package/package.json +56 -52
- package/stats.html +32 -28
- package/dist/_virtual/_vscode.js +0 -4
- package/dist/_virtual/api3.js +0 -2
- package/dist/_virtual/async.js +0 -2
- package/dist/_virtual/callHierarchy.js +0 -2
- package/dist/_virtual/client.js +0 -2
- package/dist/_virtual/codeAction.js +0 -2
- package/dist/_virtual/codeConverter.js +0 -2
- package/dist/_virtual/codeLens.js +0 -2
- package/dist/_virtual/colorProvider.js +0 -2
- package/dist/_virtual/completion.js +0 -2
- package/dist/_virtual/configuration.js +0 -2
- package/dist/_virtual/declaration.js +0 -2
- package/dist/_virtual/definition.js +0 -2
- package/dist/_virtual/diagnostic.js +0 -2
- package/dist/_virtual/documentHighlight.js +0 -2
- package/dist/_virtual/documentLink.js +0 -2
- package/dist/_virtual/documentSymbol.js +0 -2
- package/dist/_virtual/executeCommand.js +0 -2
- package/dist/_virtual/features.js +0 -2
- package/dist/_virtual/fileOperations.js +0 -2
- package/dist/_virtual/fileSystemWatcher.js +0 -2
- package/dist/_virtual/foldingRange.js +0 -2
- package/dist/_virtual/formatting.js +0 -2
- package/dist/_virtual/hover.js +0 -2
- package/dist/_virtual/implementation.js +0 -2
- package/dist/_virtual/inlayHint.js +0 -2
- package/dist/_virtual/inlineValue.js +0 -2
- package/dist/_virtual/is3.js +0 -2
- package/dist/_virtual/linkedEditingRange.js +0 -2
- package/dist/_virtual/main4.js +0 -4
- package/dist/_virtual/notebook.js +0 -2
- package/dist/_virtual/path.js +0 -4
- package/dist/_virtual/progress.js +0 -2
- package/dist/_virtual/progressPart.js +0 -2
- package/dist/_virtual/protocolCallHierarchyItem.js +0 -2
- package/dist/_virtual/protocolCodeAction.js +0 -2
- package/dist/_virtual/protocolCodeLens.js +0 -2
- package/dist/_virtual/protocolCompletionItem.js +0 -2
- package/dist/_virtual/protocolConverter.js +0 -2
- package/dist/_virtual/protocolDiagnostic.js +0 -2
- package/dist/_virtual/protocolDocumentLink.js +0 -2
- package/dist/_virtual/protocolInlayHint.js +0 -2
- package/dist/_virtual/protocolTypeHierarchyItem.js +0 -2
- package/dist/_virtual/protocolWorkspaceSymbol.js +0 -2
- package/dist/_virtual/reference.js +0 -2
- package/dist/_virtual/rename.js +0 -2
- package/dist/_virtual/selectionRange.js +0 -2
- package/dist/_virtual/semanticTokens.js +0 -2
- package/dist/_virtual/signatureHelp.js +0 -2
- package/dist/_virtual/textSynchronization.js +0 -2
- package/dist/_virtual/typeDefinition.js +0 -2
- package/dist/_virtual/typeHierarchy.js +0 -2
- package/dist/_virtual/uuid.js +0 -2
- package/dist/_virtual/workspaceFolder.js +0 -2
- package/dist/_virtual/workspaceSymbol.js +0 -2
- package/dist/node_modules/balanced-match/index.js +0 -52
- package/dist/node_modules/monaco-languageclient/lib/monaco-language-client.js +0 -127
- package/dist/node_modules/vscode-languageclient/lib/browser/main.js +0 -49
- package/dist/node_modules/vscode-languageclient/lib/common/api.js +0 -51
- package/dist/node_modules/vscode-languageclient/lib/common/callHierarchy.js +0 -98
- package/dist/node_modules/vscode-languageclient/lib/common/client.js +0 -1527
- package/dist/node_modules/vscode-languageclient/lib/common/codeAction.js +0 -92
- package/dist/node_modules/vscode-languageclient/lib/common/codeConverter.js +0 -881
- package/dist/node_modules/vscode-languageclient/lib/common/codeLens.js +0 -84
- package/dist/node_modules/vscode-languageclient/lib/common/colorProvider.js +0 -77
- package/dist/node_modules/vscode-languageclient/lib/common/completion.js +0 -105
- package/dist/node_modules/vscode-languageclient/lib/common/configuration.js +0 -214
- package/dist/node_modules/vscode-languageclient/lib/common/declaration.js +0 -59
- package/dist/node_modules/vscode-languageclient/lib/common/definition.js +0 -62
- package/dist/node_modules/vscode-languageclient/lib/common/diagnostic.js +0 -839
- package/dist/node_modules/vscode-languageclient/lib/common/documentHighlight.js +0 -57
- package/dist/node_modules/vscode-languageclient/lib/common/documentLink.js +0 -74
- package/dist/node_modules/vscode-languageclient/lib/common/documentSymbol.js +0 -82
- package/dist/node_modules/vscode-languageclient/lib/common/executeCommand.js +0 -83
- package/dist/node_modules/vscode-languageclient/lib/common/features.js +0 -310
- package/dist/node_modules/vscode-languageclient/lib/common/fileOperations.js +0 -319
- package/dist/node_modules/vscode-languageclient/lib/common/fileSystemWatcher.js +0 -104
- package/dist/node_modules/vscode-languageclient/lib/common/foldingRange.js +0 -66
- package/dist/node_modules/vscode-languageclient/lib/common/formatting.js +0 -165
- package/dist/node_modules/vscode-languageclient/lib/common/hover.js +0 -62
- package/dist/node_modules/vscode-languageclient/lib/common/implementation.js +0 -59
- package/dist/node_modules/vscode-languageclient/lib/common/inlayHint.js +0 -94
- package/dist/node_modules/vscode-languageclient/lib/common/inlineValue.js +0 -73
- package/dist/node_modules/vscode-languageclient/lib/common/linkedEditingRange.js +0 -58
- package/dist/node_modules/vscode-languageclient/lib/common/notebook.js +0 -858
- package/dist/node_modules/vscode-languageclient/lib/common/progress.js +0 -51
- package/dist/node_modules/vscode-languageclient/lib/common/progressPart.js +0 -107
- package/dist/node_modules/vscode-languageclient/lib/common/protocolCallHierarchyItem.js +0 -15
- package/dist/node_modules/vscode-languageclient/lib/common/protocolCodeAction.js +0 -13
- package/dist/node_modules/vscode-languageclient/lib/common/protocolCodeLens.js +0 -12
- package/dist/node_modules/vscode-languageclient/lib/common/protocolCompletionItem.js +0 -12
- package/dist/node_modules/vscode-languageclient/lib/common/protocolConverter.js +0 -1129
- package/dist/node_modules/vscode-languageclient/lib/common/protocolDiagnostic.js +0 -27
- package/dist/node_modules/vscode-languageclient/lib/common/protocolDocumentLink.js +0 -12
- package/dist/node_modules/vscode-languageclient/lib/common/protocolInlayHint.js +0 -12
- package/dist/node_modules/vscode-languageclient/lib/common/protocolTypeHierarchyItem.js +0 -15
- package/dist/node_modules/vscode-languageclient/lib/common/protocolWorkspaceSymbol.js +0 -17
- package/dist/node_modules/vscode-languageclient/lib/common/reference.js +0 -60
- package/dist/node_modules/vscode-languageclient/lib/common/rename.js +0 -112
- package/dist/node_modules/vscode-languageclient/lib/common/selectionRange.js +0 -62
- package/dist/node_modules/vscode-languageclient/lib/common/semanticTokens.js +0 -144
- package/dist/node_modules/vscode-languageclient/lib/common/signatureHelp.js +0 -78
- package/dist/node_modules/vscode-languageclient/lib/common/textSynchronization.js +0 -422
- package/dist/node_modules/vscode-languageclient/lib/common/typeDefinition.js +0 -60
- package/dist/node_modules/vscode-languageclient/lib/common/typeHierarchy.js +0 -97
- package/dist/node_modules/vscode-languageclient/lib/common/utils/async.js +0 -269
- package/dist/node_modules/vscode-languageclient/lib/common/utils/is.js +0 -54
- package/dist/node_modules/vscode-languageclient/lib/common/utils/uuid.js +0 -51
- package/dist/node_modules/vscode-languageclient/lib/common/workspaceFolder.js +0 -154
- package/dist/node_modules/vscode-languageclient/lib/common/workspaceSymbol.js +0 -87
- package/dist/node_modules/vscode-languageclient/node_modules/brace-expansion/index.js +0 -160
- package/dist/node_modules/vscode-languageclient/node_modules/minimatch/lib/path.js +0 -2
- package/dist/node_modules/vscode-languageclient/node_modules/minimatch/minimatch.js +0 -567
- package/dist/node_modules/vscode-languageserver-protocol/browser.js +0 -4
|
@@ -1,185 +1,190 @@
|
|
|
1
1
|
import { __exports as protocol_notebook } from '../../../../_virtual/protocol.notebook.js';
|
|
2
|
-
import require$$1 from '../../../../_virtual/
|
|
2
|
+
import require$$1 from '../../../../_virtual/main3.js';
|
|
3
3
|
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
4
4
|
import './messages.js';
|
|
5
|
-
import { __exports as is } from '../../../../_virtual/
|
|
5
|
+
import { __exports as is } from '../../../../_virtual/is.js';
|
|
6
6
|
import './utils/is.js';
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
7
|
+
Object.defineProperty(protocol_notebook, "__esModule", { value: true });
|
|
8
|
+
protocol_notebook.DidCloseNotebookDocumentNotification = protocol_notebook.DidSaveNotebookDocumentNotification = protocol_notebook.DidChangeNotebookDocumentNotification = protocol_notebook.NotebookCellArrayChange = protocol_notebook.DidOpenNotebookDocumentNotification = protocol_notebook.NotebookDocumentSyncRegistrationType = protocol_notebook.NotebookDocument = protocol_notebook.NotebookCell = protocol_notebook.ExecutionSummary = protocol_notebook.NotebookCellKind = void 0;
|
|
9
|
+
const vscode_languageserver_types_1 = require$$1;
|
|
10
|
+
const Is = is;
|
|
11
|
+
const messages_1 = messages;
|
|
12
|
+
var NotebookCellKind;
|
|
13
|
+
(function (NotebookCellKind) {
|
|
14
|
+
NotebookCellKind.Markup = 1;
|
|
15
|
+
NotebookCellKind.Code = 2;
|
|
16
|
+
function is(value) {
|
|
17
|
+
return value === 1 || value === 2;
|
|
18
|
+
}
|
|
19
|
+
NotebookCellKind.is = is;
|
|
20
|
+
})(NotebookCellKind || (protocol_notebook.NotebookCellKind = NotebookCellKind = {}));
|
|
21
|
+
var ExecutionSummary;
|
|
22
|
+
(function (ExecutionSummary) {
|
|
23
|
+
function create(executionOrder, success) {
|
|
24
|
+
const result = { executionOrder };
|
|
25
|
+
if (success === true || success === false) {
|
|
26
|
+
result.success = success;
|
|
27
|
+
}
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
ExecutionSummary.create = create;
|
|
31
|
+
function is(value) {
|
|
32
|
+
const candidate = value;
|
|
33
|
+
return Is.objectLiteral(candidate) && vscode_languageserver_types_1.uinteger.is(candidate.executionOrder) && (candidate.success === undefined || Is.boolean(candidate.success));
|
|
34
|
+
}
|
|
35
|
+
ExecutionSummary.is = is;
|
|
36
|
+
function equals(one, other) {
|
|
37
|
+
if (one === other) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
if (one === null || one === undefined || other === null || other === undefined) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return one.executionOrder === other.executionOrder && one.success === other.success;
|
|
44
|
+
}
|
|
45
|
+
ExecutionSummary.equals = equals;
|
|
46
|
+
})(ExecutionSummary || (protocol_notebook.ExecutionSummary = ExecutionSummary = {}));
|
|
47
|
+
var NotebookCell;
|
|
48
|
+
(function (NotebookCell) {
|
|
49
|
+
function create(kind, document) {
|
|
50
|
+
return { kind, document };
|
|
51
|
+
}
|
|
52
|
+
NotebookCell.create = create;
|
|
53
|
+
function is(value) {
|
|
54
|
+
const candidate = value;
|
|
55
|
+
return Is.objectLiteral(candidate) && NotebookCellKind.is(candidate.kind) && vscode_languageserver_types_1.DocumentUri.is(candidate.document) &&
|
|
56
|
+
(candidate.metadata === undefined || Is.objectLiteral(candidate.metadata));
|
|
57
|
+
}
|
|
58
|
+
NotebookCell.is = is;
|
|
59
|
+
function diff(one, two) {
|
|
60
|
+
const result = new Set();
|
|
61
|
+
if (one.document !== two.document) {
|
|
62
|
+
result.add('document');
|
|
63
|
+
}
|
|
64
|
+
if (one.kind !== two.kind) {
|
|
65
|
+
result.add('kind');
|
|
66
|
+
}
|
|
67
|
+
if (one.executionSummary !== two.executionSummary) {
|
|
68
|
+
result.add('executionSummary');
|
|
69
|
+
}
|
|
70
|
+
if ((one.metadata !== undefined || two.metadata !== undefined) && !equalsMetadata(one.metadata, two.metadata)) {
|
|
71
|
+
result.add('metadata');
|
|
72
|
+
}
|
|
73
|
+
if ((one.executionSummary !== undefined || two.executionSummary !== undefined) && !ExecutionSummary.equals(one.executionSummary, two.executionSummary)) {
|
|
74
|
+
result.add('executionSummary');
|
|
75
|
+
}
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
NotebookCell.diff = diff;
|
|
79
|
+
function equalsMetadata(one, other) {
|
|
80
|
+
if (one === other) {
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
if (one === null || one === undefined || other === null || other === undefined) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (typeof one !== typeof other) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (typeof one !== 'object') {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
const oneArray = Array.isArray(one);
|
|
93
|
+
const otherArray = Array.isArray(other);
|
|
94
|
+
if (oneArray !== otherArray) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (oneArray && otherArray) {
|
|
98
|
+
if (one.length !== other.length) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
for (let i = 0; i < one.length; i++) {
|
|
102
|
+
if (!equalsMetadata(one[i], other[i])) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (Is.objectLiteral(one) && Is.objectLiteral(other)) {
|
|
108
|
+
const oneKeys = Object.keys(one);
|
|
109
|
+
const otherKeys = Object.keys(other);
|
|
110
|
+
if (oneKeys.length !== otherKeys.length) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
oneKeys.sort();
|
|
114
|
+
otherKeys.sort();
|
|
115
|
+
if (!equalsMetadata(oneKeys, otherKeys)) {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
for (let i = 0; i < oneKeys.length; i++) {
|
|
119
|
+
const prop = oneKeys[i];
|
|
120
|
+
if (!equalsMetadata(one[prop], other[prop])) {
|
|
121
|
+
return false;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
})(NotebookCell || (protocol_notebook.NotebookCell = NotebookCell = {}));
|
|
128
|
+
var NotebookDocument;
|
|
129
|
+
(function (NotebookDocument) {
|
|
130
|
+
function create(uri, notebookType, version, cells) {
|
|
131
|
+
return { uri, notebookType, version, cells };
|
|
132
|
+
}
|
|
133
|
+
NotebookDocument.create = create;
|
|
134
|
+
function is(value) {
|
|
135
|
+
const candidate = value;
|
|
136
|
+
return Is.objectLiteral(candidate) && Is.string(candidate.uri) && vscode_languageserver_types_1.integer.is(candidate.version) && Is.typedArray(candidate.cells, NotebookCell.is);
|
|
137
|
+
}
|
|
138
|
+
NotebookDocument.is = is;
|
|
139
|
+
})(NotebookDocument || (protocol_notebook.NotebookDocument = NotebookDocument = {}));
|
|
140
|
+
var NotebookDocumentSyncRegistrationType;
|
|
141
|
+
(function (NotebookDocumentSyncRegistrationType) {
|
|
142
|
+
NotebookDocumentSyncRegistrationType.method = 'notebookDocument/sync';
|
|
143
|
+
NotebookDocumentSyncRegistrationType.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
144
|
+
NotebookDocumentSyncRegistrationType.type = new messages_1.RegistrationType(NotebookDocumentSyncRegistrationType.method);
|
|
145
|
+
})(NotebookDocumentSyncRegistrationType || (protocol_notebook.NotebookDocumentSyncRegistrationType = NotebookDocumentSyncRegistrationType = {}));
|
|
146
|
+
var DidOpenNotebookDocumentNotification;
|
|
147
|
+
(function (DidOpenNotebookDocumentNotification) {
|
|
148
|
+
DidOpenNotebookDocumentNotification.method = 'notebookDocument/didOpen';
|
|
149
|
+
DidOpenNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
150
|
+
DidOpenNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenNotebookDocumentNotification.method);
|
|
151
|
+
DidOpenNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
152
|
+
})(DidOpenNotebookDocumentNotification || (protocol_notebook.DidOpenNotebookDocumentNotification = DidOpenNotebookDocumentNotification = {}));
|
|
153
|
+
var NotebookCellArrayChange;
|
|
154
|
+
(function (NotebookCellArrayChange) {
|
|
155
|
+
function is(value) {
|
|
156
|
+
const candidate = value;
|
|
157
|
+
return Is.objectLiteral(candidate) && vscode_languageserver_types_1.uinteger.is(candidate.start) && vscode_languageserver_types_1.uinteger.is(candidate.deleteCount) && (candidate.cells === undefined || Is.typedArray(candidate.cells, NotebookCell.is));
|
|
158
|
+
}
|
|
159
|
+
NotebookCellArrayChange.is = is;
|
|
160
|
+
function create(start, deleteCount, cells) {
|
|
161
|
+
const result = { start, deleteCount };
|
|
162
|
+
if (cells !== undefined) {
|
|
163
|
+
result.cells = cells;
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
}
|
|
167
|
+
NotebookCellArrayChange.create = create;
|
|
168
|
+
})(NotebookCellArrayChange || (protocol_notebook.NotebookCellArrayChange = NotebookCellArrayChange = {}));
|
|
169
|
+
var DidChangeNotebookDocumentNotification;
|
|
170
|
+
(function (DidChangeNotebookDocumentNotification) {
|
|
171
|
+
DidChangeNotebookDocumentNotification.method = 'notebookDocument/didChange';
|
|
172
|
+
DidChangeNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
173
|
+
DidChangeNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeNotebookDocumentNotification.method);
|
|
174
|
+
DidChangeNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
175
|
+
})(DidChangeNotebookDocumentNotification || (protocol_notebook.DidChangeNotebookDocumentNotification = DidChangeNotebookDocumentNotification = {}));
|
|
176
|
+
var DidSaveNotebookDocumentNotification;
|
|
177
|
+
(function (DidSaveNotebookDocumentNotification) {
|
|
178
|
+
DidSaveNotebookDocumentNotification.method = 'notebookDocument/didSave';
|
|
179
|
+
DidSaveNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
180
|
+
DidSaveNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveNotebookDocumentNotification.method);
|
|
181
|
+
DidSaveNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
182
|
+
})(DidSaveNotebookDocumentNotification || (protocol_notebook.DidSaveNotebookDocumentNotification = DidSaveNotebookDocumentNotification = {}));
|
|
183
|
+
var DidCloseNotebookDocumentNotification;
|
|
184
|
+
(function (DidCloseNotebookDocumentNotification) {
|
|
185
|
+
DidCloseNotebookDocumentNotification.method = 'notebookDocument/didClose';
|
|
186
|
+
DidCloseNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
187
|
+
DidCloseNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification.method);
|
|
188
|
+
DidCloseNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
189
|
+
})(DidCloseNotebookDocumentNotification || (protocol_notebook.DidCloseNotebookDocumentNotification = DidCloseNotebookDocumentNotification = {}));
|
|
190
|
+
export { protocol_notebook as default };
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { __exports as protocol_progress } from '../../../../_virtual/protocol.progress.js';
|
|
2
|
-
import { __exports as main } from '../../../../_virtual/
|
|
2
|
+
import { __exports as main } from '../../../../_virtual/main2.js';
|
|
3
3
|
import '../../../vscode-jsonrpc/lib/browser/main.js';
|
|
4
4
|
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
5
5
|
import './messages.js';
|
|
6
|
-
(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
6
|
+
Object.defineProperty(protocol_progress, "__esModule", { value: true });
|
|
7
|
+
protocol_progress.WorkDoneProgressCancelNotification = protocol_progress.WorkDoneProgressCreateRequest = protocol_progress.WorkDoneProgress = void 0;
|
|
8
|
+
const vscode_jsonrpc_1 = main;
|
|
9
|
+
const messages_1 = messages;
|
|
10
|
+
var WorkDoneProgress;
|
|
11
|
+
(function (WorkDoneProgress) {
|
|
12
|
+
WorkDoneProgress.type = new vscode_jsonrpc_1.ProgressType();
|
|
13
|
+
function is(value) {
|
|
14
|
+
return value === WorkDoneProgress.type;
|
|
15
|
+
}
|
|
16
|
+
WorkDoneProgress.is = is;
|
|
17
|
+
})(WorkDoneProgress || (protocol_progress.WorkDoneProgress = WorkDoneProgress = {}));
|
|
18
|
+
var WorkDoneProgressCreateRequest;
|
|
19
|
+
(function (WorkDoneProgressCreateRequest) {
|
|
20
|
+
WorkDoneProgressCreateRequest.method = 'window/workDoneProgress/create';
|
|
21
|
+
WorkDoneProgressCreateRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
22
|
+
WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest.method);
|
|
23
|
+
})(WorkDoneProgressCreateRequest || (protocol_progress.WorkDoneProgressCreateRequest = WorkDoneProgressCreateRequest = {}));
|
|
24
|
+
var WorkDoneProgressCancelNotification;
|
|
25
|
+
(function (WorkDoneProgressCancelNotification) {
|
|
26
|
+
WorkDoneProgressCancelNotification.method = 'window/workDoneProgress/cancel';
|
|
27
|
+
WorkDoneProgressCancelNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
28
|
+
WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
|
|
29
|
+
})(WorkDoneProgressCancelNotification || (protocol_progress.WorkDoneProgressCancelNotification = WorkDoneProgressCancelNotification = {}));
|
|
30
|
+
export { protocol_progress as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __exports as protocol_selectionRange } from '../../../../_virtual/protocol.selectionRange.js';
|
|
2
2
|
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
3
|
import './messages.js';
|
|
4
|
-
(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
Object.defineProperty(protocol_selectionRange, "__esModule", { value: true });
|
|
5
|
+
protocol_selectionRange.SelectionRangeRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var SelectionRangeRequest;
|
|
8
|
+
(function (SelectionRangeRequest) {
|
|
9
|
+
SelectionRangeRequest.method = 'textDocument/selectionRange';
|
|
10
|
+
SelectionRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
11
|
+
SelectionRangeRequest.type = new messages_1.ProtocolRequestType(SelectionRangeRequest.method);
|
|
12
|
+
})(SelectionRangeRequest || (protocol_selectionRange.SelectionRangeRequest = SelectionRangeRequest = {}));
|
|
13
|
+
export { protocol_selectionRange as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js
CHANGED
|
@@ -1,39 +1,43 @@
|
|
|
1
1
|
import { __exports as protocol_semanticTokens } from '../../../../_virtual/protocol.semanticTokens.js';
|
|
2
2
|
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
3
|
import './messages.js';
|
|
4
|
-
(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
4
|
+
Object.defineProperty(protocol_semanticTokens, "__esModule", { value: true });
|
|
5
|
+
protocol_semanticTokens.SemanticTokensRefreshRequest = protocol_semanticTokens.SemanticTokensRangeRequest = protocol_semanticTokens.SemanticTokensDeltaRequest = protocol_semanticTokens.SemanticTokensRequest = protocol_semanticTokens.SemanticTokensRegistrationType = protocol_semanticTokens.TokenFormat = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var TokenFormat;
|
|
8
|
+
(function (TokenFormat) {
|
|
9
|
+
TokenFormat.Relative = 'relative';
|
|
10
|
+
})(TokenFormat || (protocol_semanticTokens.TokenFormat = TokenFormat = {}));
|
|
11
|
+
var SemanticTokensRegistrationType;
|
|
12
|
+
(function (SemanticTokensRegistrationType) {
|
|
13
|
+
SemanticTokensRegistrationType.method = 'textDocument/semanticTokens';
|
|
14
|
+
SemanticTokensRegistrationType.type = new messages_1.RegistrationType(SemanticTokensRegistrationType.method);
|
|
15
|
+
})(SemanticTokensRegistrationType || (protocol_semanticTokens.SemanticTokensRegistrationType = SemanticTokensRegistrationType = {}));
|
|
16
|
+
var SemanticTokensRequest;
|
|
17
|
+
(function (SemanticTokensRequest) {
|
|
18
|
+
SemanticTokensRequest.method = 'textDocument/semanticTokens/full';
|
|
19
|
+
SemanticTokensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
20
|
+
SemanticTokensRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRequest.method);
|
|
21
|
+
SemanticTokensRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
22
|
+
})(SemanticTokensRequest || (protocol_semanticTokens.SemanticTokensRequest = SemanticTokensRequest = {}));
|
|
23
|
+
var SemanticTokensDeltaRequest;
|
|
24
|
+
(function (SemanticTokensDeltaRequest) {
|
|
25
|
+
SemanticTokensDeltaRequest.method = 'textDocument/semanticTokens/full/delta';
|
|
26
|
+
SemanticTokensDeltaRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
27
|
+
SemanticTokensDeltaRequest.type = new messages_1.ProtocolRequestType(SemanticTokensDeltaRequest.method);
|
|
28
|
+
SemanticTokensDeltaRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
29
|
+
})(SemanticTokensDeltaRequest || (protocol_semanticTokens.SemanticTokensDeltaRequest = SemanticTokensDeltaRequest = {}));
|
|
30
|
+
var SemanticTokensRangeRequest;
|
|
31
|
+
(function (SemanticTokensRangeRequest) {
|
|
32
|
+
SemanticTokensRangeRequest.method = 'textDocument/semanticTokens/range';
|
|
33
|
+
SemanticTokensRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
34
|
+
SemanticTokensRangeRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRangeRequest.method);
|
|
35
|
+
SemanticTokensRangeRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
36
|
+
})(SemanticTokensRangeRequest || (protocol_semanticTokens.SemanticTokensRangeRequest = SemanticTokensRangeRequest = {}));
|
|
37
|
+
var SemanticTokensRefreshRequest;
|
|
38
|
+
(function (SemanticTokensRefreshRequest) {
|
|
39
|
+
SemanticTokensRefreshRequest.method = `workspace/semanticTokens/refresh`;
|
|
40
|
+
SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
41
|
+
SemanticTokensRefreshRequest.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest.method);
|
|
42
|
+
})(SemanticTokensRefreshRequest || (protocol_semanticTokens.SemanticTokensRefreshRequest = SemanticTokensRefreshRequest = {}));
|
|
43
|
+
export { protocol_semanticTokens as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __exports as protocol_showDocument } from '../../../../_virtual/protocol.showDocument.js';
|
|
2
2
|
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
3
|
import './messages.js';
|
|
4
|
-
(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
Object.defineProperty(protocol_showDocument, "__esModule", { value: true });
|
|
5
|
+
protocol_showDocument.ShowDocumentRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var ShowDocumentRequest;
|
|
8
|
+
(function (ShowDocumentRequest) {
|
|
9
|
+
ShowDocumentRequest.method = 'window/showDocument';
|
|
10
|
+
ShowDocumentRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
11
|
+
ShowDocumentRequest.type = new messages_1.ProtocolRequestType(ShowDocumentRequest.method);
|
|
12
|
+
})(ShowDocumentRequest || (protocol_showDocument.ShowDocumentRequest = ShowDocumentRequest = {}));
|
|
13
|
+
export { protocol_showDocument as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __exports as protocol_typeDefinition } from '../../../../_virtual/protocol.typeDefinition.js';
|
|
2
2
|
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
3
|
import './messages.js';
|
|
4
|
-
(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
Object.defineProperty(protocol_typeDefinition, "__esModule", { value: true });
|
|
5
|
+
protocol_typeDefinition.TypeDefinitionRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var TypeDefinitionRequest;
|
|
8
|
+
(function (TypeDefinitionRequest) {
|
|
9
|
+
TypeDefinitionRequest.method = 'textDocument/typeDefinition';
|
|
10
|
+
TypeDefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
11
|
+
TypeDefinitionRequest.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest.method);
|
|
12
|
+
})(TypeDefinitionRequest || (protocol_typeDefinition.TypeDefinitionRequest = TypeDefinitionRequest = {}));
|
|
13
|
+
export { protocol_typeDefinition as default };
|