@neo4j-cypher/language-server 2.0.0-next.4 → 2.0.0-next.40
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/CHANGELOG.md +377 -1
- package/dist/cypher-language-server +2134 -73
- package/dist/server.js +210 -0
- package/package.json +35 -33
- package/src/autocompletion.ts +44 -20
- package/src/descriptionToMarkdown.ts +55 -0
- package/src/formatting.ts +34 -0
- package/src/hoverInfo.ts +29 -0
- package/src/hoverMarkdown.ts +56 -0
- package/src/linting.ts +87 -31
- package/src/server.ts +237 -52
- package/src/signatureHelp.ts +7 -7
- package/src/{syntaxColouring.ts → syntaxHighlighting.ts} +6 -8
- package/src/tests/descriptionToMarkdown.test.ts +157 -0
- package/src/tests/hoverMarkdown.test.ts +232 -0
- package/src/types.ts +24 -4
- package/src/lint-worker.ts +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,381 @@
|
|
|
1
1
|
# @neo4j-cypher/language-server
|
|
2
2
|
|
|
3
|
+
## 2.0.0-next.40
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8b991d6: Hover: Handle structured `HoverInfo` instead of recieving `Hover` from language-support
|
|
8
|
+
- Updated dependencies [b510128]
|
|
9
|
+
- Updated dependencies [8b991d6]
|
|
10
|
+
- Updated dependencies [b510128]
|
|
11
|
+
- @neo4j-cypher/language-support@2.0.0-next.39
|
|
12
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.16
|
|
13
|
+
- @neo4j-cypher/query-tools@2.0.0-next.39
|
|
14
|
+
|
|
15
|
+
## 2.0.0-next.39
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 1897def: Functions and procedures information on hover
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- 321e370: Add hover on variables
|
|
24
|
+
- Updated dependencies [d3dbe10]
|
|
25
|
+
- Updated dependencies [1897def]
|
|
26
|
+
- Updated dependencies [321e370]
|
|
27
|
+
- Updated dependencies [2844ec4]
|
|
28
|
+
- Updated dependencies [b38430c]
|
|
29
|
+
- @neo4j-cypher/language-support@2.0.0-next.38
|
|
30
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.15
|
|
31
|
+
- @neo4j-cypher/query-tools@2.0.0-next.38
|
|
32
|
+
|
|
33
|
+
## 2.0.0-next.38
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- ce3820b: Update grammar and semantic analysis to 2026.08
|
|
38
|
+
- Updated dependencies [ce3820b]
|
|
39
|
+
- Updated dependencies [6c863cd]
|
|
40
|
+
- @neo4j-cypher/language-support@2.0.0-next.37
|
|
41
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.14
|
|
42
|
+
- @neo4j-cypher/query-tools@2.0.0-next.37
|
|
43
|
+
|
|
44
|
+
## 2.0.0-next.37
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [50f061e]
|
|
49
|
+
- @neo4j-cypher/language-support@2.0.0-next.36
|
|
50
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.13
|
|
51
|
+
- @neo4j-cypher/query-tools@2.0.0-next.36
|
|
52
|
+
|
|
53
|
+
## 2.0.0-next.36
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- Updated dependencies [6866132]
|
|
58
|
+
- @neo4j-cypher/language-support@2.0.0-next.35
|
|
59
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.12
|
|
60
|
+
- @neo4j-cypher/query-tools@2.0.0-next.35
|
|
61
|
+
|
|
62
|
+
## 2.0.0-next.35
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies [2f8b52d]
|
|
67
|
+
- @neo4j-cypher/language-support@2.0.0-next.34
|
|
68
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.11
|
|
69
|
+
- @neo4j-cypher/query-tools@2.0.0-next.34
|
|
70
|
+
|
|
71
|
+
## 2.0.0-next.34
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- 02df611: Hide parameter errors when disconnected
|
|
76
|
+
- Updated dependencies [02df611]
|
|
77
|
+
- Updated dependencies [e69ee30]
|
|
78
|
+
- @neo4j-cypher/language-support@2.0.0-next.33
|
|
79
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.10
|
|
80
|
+
- @neo4j-cypher/query-tools@2.0.0-next.33
|
|
81
|
+
|
|
82
|
+
## 2.0.0-next.33
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- cd4ab49: Update grammar and semantic analysis to 2026.05
|
|
87
|
+
- Updated dependencies [cd4ab49]
|
|
88
|
+
- Updated dependencies [0b2d441]
|
|
89
|
+
- @neo4j-cypher/language-support@2.0.0-next.32
|
|
90
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.9
|
|
91
|
+
- @neo4j-cypher/query-tools@2.0.0-next.32
|
|
92
|
+
|
|
93
|
+
## 2.0.0-next.32
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- 3b2faf5: Rewrite global parserWrapper for instantiated CypherLanguageService objects
|
|
98
|
+
|
|
99
|
+
Breaking changes for direct consumers of `@neo4j-cypher/language-support`:
|
|
100
|
+
|
|
101
|
+
- Removed export: `parserWrapper`. The same `ParsingResult` as `parserWrapper.parse` would yield can still be received by `createParsingResult` in `CypherLanguageService`. Instances of the new CypherLanguageService class provide helpers for linting/highlighting/completions/signature info where parsing is handled internally.
|
|
102
|
+
- Renamed exports: `applySyntaxColouring` → `highlightSyntax`, `syntaxColouringLegend` → `syntaxHighlightingLegend`
|
|
103
|
+
- `autocomplete()`, `lintCypherQuery()`, `highlightSyntax()`, and `getSignatureInfo()` now take an options object as the third parameter instead of positional args
|
|
104
|
+
|
|
105
|
+
- Updated dependencies [08f94af]
|
|
106
|
+
- Updated dependencies [0763d97]
|
|
107
|
+
- Updated dependencies [3b2faf5]
|
|
108
|
+
- Updated dependencies [ca1bba6]
|
|
109
|
+
- @neo4j-cypher/language-support@2.0.0-next.31
|
|
110
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.8
|
|
111
|
+
- @neo4j-cypher/query-tools@2.0.0-next.31
|
|
112
|
+
|
|
113
|
+
## 2.0.0-next.31
|
|
114
|
+
|
|
115
|
+
### Patch Changes
|
|
116
|
+
|
|
117
|
+
- b0170f9: Increase path segment completion triggering
|
|
118
|
+
- Updated dependencies [82f0c39]
|
|
119
|
+
- Updated dependencies [0e457d6]
|
|
120
|
+
- Updated dependencies [b0170f9]
|
|
121
|
+
- Updated dependencies [25fad16]
|
|
122
|
+
- @neo4j-cypher/query-tools@2.0.0-next.30
|
|
123
|
+
- @neo4j-cypher/language-support@2.0.0-next.30
|
|
124
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.7
|
|
125
|
+
|
|
126
|
+
## 2.0.0-next.30
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- Updated dependencies [bfdc70e]
|
|
131
|
+
- @neo4j-cypher/language-support@2.0.0-next.29
|
|
132
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.6
|
|
133
|
+
- @neo4j-cypher/query-tools@2.0.0-next.29
|
|
134
|
+
|
|
135
|
+
## 2.0.0-next.29
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [5df1435]
|
|
140
|
+
- @neo4j-cypher/language-support@2.0.0-next.28
|
|
141
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.5
|
|
142
|
+
- @neo4j-cypher/query-tools@2.0.0-next.28
|
|
143
|
+
|
|
144
|
+
## 2.0.0-next.28
|
|
145
|
+
|
|
146
|
+
### Patch Changes
|
|
147
|
+
|
|
148
|
+
- Updated dependencies [6a2a408]
|
|
149
|
+
- Updated dependencies [20b31b6]
|
|
150
|
+
- Updated dependencies [8c4d12d]
|
|
151
|
+
- Updated dependencies [68d92a8]
|
|
152
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.4
|
|
153
|
+
- @neo4j-cypher/language-support@2.0.0-next.27
|
|
154
|
+
- @neo4j-cypher/query-tools@2.0.0-next.27
|
|
155
|
+
|
|
156
|
+
## 2.0.0-next.27
|
|
157
|
+
|
|
158
|
+
### Patch Changes
|
|
159
|
+
|
|
160
|
+
- Updated dependencies [8e8d7f1]
|
|
161
|
+
- Updated dependencies [808aa73]
|
|
162
|
+
- @neo4j-cypher/language-support@2.0.0-next.26
|
|
163
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.3
|
|
164
|
+
- @neo4j-cypher/query-tools@2.0.0-next.26
|
|
165
|
+
|
|
166
|
+
## 2.0.0-next.26
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- Updated dependencies [b1e686e]
|
|
171
|
+
- @neo4j-cypher/language-support@2.0.0-next.25
|
|
172
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.2
|
|
173
|
+
- @neo4j-cypher/query-tools@2.0.0-next.25
|
|
174
|
+
|
|
175
|
+
## 2.0.0-next.25
|
|
176
|
+
|
|
177
|
+
### Patch Changes
|
|
178
|
+
|
|
179
|
+
- 5fdc6dd: Fixes faulty worker termination on big queries
|
|
180
|
+
- Updated dependencies [246d60c]
|
|
181
|
+
- Updated dependencies [8eacddd]
|
|
182
|
+
- Updated dependencies [3a29711]
|
|
183
|
+
- Updated dependencies [b9c0e9d]
|
|
184
|
+
- Updated dependencies [d77e8a1]
|
|
185
|
+
- Updated dependencies [5fdc6dd]
|
|
186
|
+
- Updated dependencies [7183c63]
|
|
187
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.1
|
|
188
|
+
- @neo4j-cypher/language-support@2.0.0-next.24
|
|
189
|
+
- @neo4j-cypher/query-tools@2.0.0-next.24
|
|
190
|
+
|
|
191
|
+
## 2.0.0-next.24
|
|
192
|
+
|
|
193
|
+
### Patch Changes
|
|
194
|
+
|
|
195
|
+
- Updated dependencies [c065d85]
|
|
196
|
+
- Updated dependencies [045424b]
|
|
197
|
+
- @neo4j-cypher/language-support@2.0.0-next.23
|
|
198
|
+
- @neo4j-cypher/lint-worker@1.10.1-next.0
|
|
199
|
+
- @neo4j-cypher/query-tools@2.0.0-next.23
|
|
200
|
+
|
|
201
|
+
## 2.0.0-next.23
|
|
202
|
+
|
|
203
|
+
### Minor Changes
|
|
204
|
+
|
|
205
|
+
- ed65ef3: Fixes handling of negative positions and syntaxchecker-exceptions
|
|
206
|
+
- c4f27c9: Adds support for server-versioned lint-workers
|
|
207
|
+
|
|
208
|
+
### Patch Changes
|
|
209
|
+
|
|
210
|
+
- c1fa91f: Adds support for manual linter switching
|
|
211
|
+
- Updated dependencies [ed65ef3]
|
|
212
|
+
- Updated dependencies [7538cfd]
|
|
213
|
+
- Updated dependencies [c4f27c9]
|
|
214
|
+
- Updated dependencies [c1fa91f]
|
|
215
|
+
- Updated dependencies [039d1c5]
|
|
216
|
+
- Updated dependencies [1ef063e]
|
|
217
|
+
- Updated dependencies [a38255f]
|
|
218
|
+
- Updated dependencies [c4f27c9]
|
|
219
|
+
- @neo4j-cypher/language-support@2.0.0-next.22
|
|
220
|
+
- @neo4j-cypher/query-tools@2.0.0-next.22
|
|
221
|
+
- @neo4j-cypher/lint-worker@0.1.0-next.0
|
|
222
|
+
|
|
223
|
+
## 2.0.0-next.22
|
|
224
|
+
|
|
225
|
+
### Patch Changes
|
|
226
|
+
|
|
227
|
+
- Updated dependencies [4b0ee37]
|
|
228
|
+
- @neo4j-cypher/language-support@2.0.0-next.21
|
|
229
|
+
- @neo4j-cypher/lint-worker@2025.4.1-next.0
|
|
230
|
+
- @neo4j-cypher/query-tools@2.0.0-next.21
|
|
231
|
+
|
|
232
|
+
## 2.0.0-next.21
|
|
233
|
+
|
|
234
|
+
### Patch Changes
|
|
235
|
+
|
|
236
|
+
- Updated dependencies [013e4ff]
|
|
237
|
+
- @neo4j-cypher/language-support@2.0.0-next.20
|
|
238
|
+
- @neo4j-cypher/query-tools@2.0.0-next.20
|
|
239
|
+
|
|
240
|
+
## 2.0.0-next.20
|
|
241
|
+
|
|
242
|
+
### Patch Changes
|
|
243
|
+
|
|
244
|
+
- 5bfdac2: restructure packages as part of move to pnpm
|
|
245
|
+
- Updated dependencies [88e4930]
|
|
246
|
+
- Updated dependencies [5bfdac2]
|
|
247
|
+
- @neo4j-cypher/language-support@2.0.0-next.19
|
|
248
|
+
- @neo4j-cypher/query-tools@2.0.0-next.19
|
|
249
|
+
|
|
250
|
+
## 2.0.0-next.19
|
|
251
|
+
|
|
252
|
+
### Patch Changes
|
|
253
|
+
|
|
254
|
+
- Updated dependencies [1b971aa]
|
|
255
|
+
- Updated dependencies [07ac90f]
|
|
256
|
+
- @neo4j-cypher/language-support@2.0.0-next.18
|
|
257
|
+
|
|
258
|
+
## 2.0.0-next.18
|
|
259
|
+
|
|
260
|
+
### Patch Changes
|
|
261
|
+
|
|
262
|
+
- Updated dependencies [bffbb19]
|
|
263
|
+
- Updated dependencies [826d922]
|
|
264
|
+
- Updated dependencies [1caab0c]
|
|
265
|
+
- @neo4j-cypher/language-support@2.0.0-next.17
|
|
266
|
+
|
|
267
|
+
## 2.0.0-next.17
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- Updated dependencies [68f55d4]
|
|
272
|
+
- Updated dependencies [6d00433]
|
|
273
|
+
- Updated dependencies [c01b32a]
|
|
274
|
+
- @neo4j-cypher/language-support@2.0.0-next.16
|
|
275
|
+
|
|
276
|
+
## 2.0.0-next.16
|
|
277
|
+
|
|
278
|
+
### Patch Changes
|
|
279
|
+
|
|
280
|
+
- Updated dependencies [50cc73e]
|
|
281
|
+
- Updated dependencies [5ef538d]
|
|
282
|
+
- Updated dependencies [b988d3b]
|
|
283
|
+
- @neo4j-cypher/language-support@2.0.0-next.15
|
|
284
|
+
|
|
285
|
+
## 2.0.0-next.15
|
|
286
|
+
|
|
287
|
+
### Patch Changes
|
|
288
|
+
|
|
289
|
+
- 245fb6a: Automatically opens autocompletions after "YIELD "
|
|
290
|
+
- Updated dependencies [8ec797d]
|
|
291
|
+
- Updated dependencies [7aa9c3a]
|
|
292
|
+
- Updated dependencies [2be5469]
|
|
293
|
+
- Updated dependencies [245fb6a]
|
|
294
|
+
- Updated dependencies [c587b81]
|
|
295
|
+
- Updated dependencies [3f8b64f]
|
|
296
|
+
- Updated dependencies [043d766]
|
|
297
|
+
- Updated dependencies [704d1c5]
|
|
298
|
+
- @neo4j-cypher/language-support@2.0.0-next.14
|
|
299
|
+
|
|
300
|
+
## 2.0.0-next.14
|
|
301
|
+
|
|
302
|
+
### Patch Changes
|
|
303
|
+
|
|
304
|
+
- Updated dependencies [84a12fc]
|
|
305
|
+
- Updated dependencies [d329252]
|
|
306
|
+
- Updated dependencies [b0e419e]
|
|
307
|
+
- @neo4j-cypher/language-support@2.0.0-next.13
|
|
308
|
+
|
|
309
|
+
## 2.0.0-next.13
|
|
310
|
+
|
|
311
|
+
### Patch Changes
|
|
312
|
+
|
|
313
|
+
- Updated dependencies [88fbe63]
|
|
314
|
+
- Updated dependencies [22081b0]
|
|
315
|
+
- Updated dependencies [62ac442]
|
|
316
|
+
- @neo4j-cypher/language-support@2.0.0-next.12
|
|
317
|
+
|
|
318
|
+
## 2.0.0-next.12
|
|
319
|
+
|
|
320
|
+
### Patch Changes
|
|
321
|
+
|
|
322
|
+
- d85c1e0: Fixes bug with auto-completions
|
|
323
|
+
- Updated dependencies [bccf518]
|
|
324
|
+
- @neo4j-cypher/language-support@2.0.0-next.11
|
|
325
|
+
|
|
326
|
+
## 2.0.0-next.11
|
|
327
|
+
|
|
328
|
+
### Patch Changes
|
|
329
|
+
|
|
330
|
+
- Updated dependencies [8760c02]
|
|
331
|
+
- @neo4j-cypher/language-support@2.0.0-next.10
|
|
332
|
+
|
|
333
|
+
## 2.0.0-next.10
|
|
334
|
+
|
|
335
|
+
### Patch Changes
|
|
336
|
+
|
|
337
|
+
- Updated dependencies [2e72ac8]
|
|
338
|
+
- @neo4j-cypher/language-support@2.0.0-next.9
|
|
339
|
+
|
|
340
|
+
## 2.0.0-next.9
|
|
341
|
+
|
|
342
|
+
### Patch Changes
|
|
343
|
+
|
|
344
|
+
- Updated dependencies [05663bd]
|
|
345
|
+
- @neo4j-cypher/language-support@2.0.0-next.8
|
|
346
|
+
|
|
347
|
+
## 2.0.0-next.8
|
|
348
|
+
|
|
349
|
+
### Patch Changes
|
|
350
|
+
|
|
351
|
+
- Updated dependencies [3661e9d]
|
|
352
|
+
- Updated dependencies [b76af58]
|
|
353
|
+
- Updated dependencies [21699b7]
|
|
354
|
+
- Updated dependencies [6afc0e3]
|
|
355
|
+
- Updated dependencies [39b924d]
|
|
356
|
+
- @neo4j-cypher/language-support@2.0.0-next.7
|
|
357
|
+
|
|
358
|
+
## 2.0.0-next.7
|
|
359
|
+
|
|
360
|
+
### Patch Changes
|
|
361
|
+
|
|
362
|
+
- Updated dependencies [e92d8c7]
|
|
363
|
+
- @neo4j-cypher/language-support@2.0.0-next.6
|
|
364
|
+
|
|
365
|
+
## 2.0.0-next.6
|
|
366
|
+
|
|
367
|
+
### Patch Changes
|
|
368
|
+
|
|
369
|
+
- Updated dependencies [1f790d0]
|
|
370
|
+
- @neo4j-cypher/language-support@2.0.0-next.5
|
|
371
|
+
|
|
372
|
+
## 2.0.0-next.5
|
|
373
|
+
|
|
374
|
+
### Patch Changes
|
|
375
|
+
|
|
376
|
+
- Updated dependencies
|
|
377
|
+
- @neo4j-cypher/language-support@2.0.0-next.4
|
|
378
|
+
|
|
3
379
|
## 2.0.0-next.4
|
|
4
380
|
|
|
5
381
|
### Patch Changes
|
|
@@ -42,4 +418,4 @@
|
|
|
42
418
|
|
|
43
419
|
- Updated dependencies [5819f6385]
|
|
44
420
|
- @neo4j-cypher/language-support@2.0.0-next.0
|
|
45
|
-
- @neo4j-cypher/
|
|
421
|
+
- @neo4j-cypher/query-tools@2.0.0-next.0
|