typescript-language-server 3.3.2 → 4.0.0
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 +23 -0
- package/README.md +13 -6
- package/lib/cli.mjs +1 -1
- package/lib/cli.mjs.map +1 -1
- package/package.json +36 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [4.0.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.3.2...v4.0.0) (2023-10-20)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* require node 18+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add support for textDocument/linkedEditingRange ([#732](https://github.com/typescript-language-server/typescript-language-server/issues/732)) ([983a692](https://github.com/typescript-language-server/typescript-language-server/commit/983a6923114c39d638e0c7d419ae16e8bca8985c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** update devdependency typescript to ^5.1.3 ([#727](https://github.com/typescript-language-server/typescript-language-server/issues/727)) ([af477a2](https://github.com/typescript-language-server/typescript-language-server/commit/af477a2acacced85b52ca1fdb967f17228496c30))
|
|
19
|
+
* **deps:** update devdependency typescript to ^5.2.2 ([#737](https://github.com/typescript-language-server/typescript-language-server/issues/737)) ([0fff121](https://github.com/typescript-language-server/typescript-language-server/commit/0fff121490f255c42c4f78d6c3cdb7d37668cbed))
|
|
20
|
+
* **perf:** cache completion data on the server to avoid serialization ([#768](https://github.com/typescript-language-server/typescript-language-server/issues/768)) ([d7b4c77](https://github.com/typescript-language-server/typescript-language-server/commit/d7b4c77b6d71e81210623d17a80c0838681de3ca))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Refactors
|
|
24
|
+
|
|
25
|
+
* require node 18+ ([1df5a28](https://github.com/typescript-language-server/typescript-language-server/commit/1df5a283e3803e6f2e60579dff0fd4289543b2b2))
|
|
26
|
+
|
|
4
27
|
## [3.3.2](https://github.com/typescript-language-server/typescript-language-server/compare/v3.3.1...v3.3.2) (2023-04-17)
|
|
5
28
|
|
|
6
29
|
|
package/README.md
CHANGED
|
@@ -209,7 +209,7 @@ interface UserPreferences {
|
|
|
209
209
|
/**
|
|
210
210
|
* Indicates whether imports should be organized in a case-insensitive manner.
|
|
211
211
|
*
|
|
212
|
-
*
|
|
212
|
+
* @default "auto".
|
|
213
213
|
*/
|
|
214
214
|
organizeImportsIgnoreCase: "auto" | boolean;
|
|
215
215
|
/**
|
|
@@ -218,7 +218,7 @@ interface UserPreferences {
|
|
|
218
218
|
* [Unicode Collation Algorithm](https://unicode.org/reports/tr10/#Scope)) using rules associated with the locale
|
|
219
219
|
* specified in {@link organizeImportsCollationLocale}.
|
|
220
220
|
*
|
|
221
|
-
*
|
|
221
|
+
* @default "ordinal".
|
|
222
222
|
*/
|
|
223
223
|
organizeImportsCollation: "ordinal" | "unicode";
|
|
224
224
|
/**
|
|
@@ -227,7 +227,7 @@ interface UserPreferences {
|
|
|
227
227
|
*
|
|
228
228
|
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
|
|
229
229
|
*
|
|
230
|
-
*
|
|
230
|
+
* @default "en"
|
|
231
231
|
*/
|
|
232
232
|
organizeImportsCollationLocale: string;
|
|
233
233
|
/**
|
|
@@ -236,7 +236,7 @@ interface UserPreferences {
|
|
|
236
236
|
*
|
|
237
237
|
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
|
|
238
238
|
*
|
|
239
|
-
*
|
|
239
|
+
* @default false
|
|
240
240
|
*/
|
|
241
241
|
organizeImportsNumericCollation: boolean;
|
|
242
242
|
/**
|
|
@@ -246,7 +246,7 @@ interface UserPreferences {
|
|
|
246
246
|
*
|
|
247
247
|
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
|
|
248
248
|
*
|
|
249
|
-
*
|
|
249
|
+
* @default true
|
|
250
250
|
*/
|
|
251
251
|
organizeImportsAccentCollation: boolean;
|
|
252
252
|
/**
|
|
@@ -258,7 +258,7 @@ interface UserPreferences {
|
|
|
258
258
|
* or if {@link organizeImportsIgnoreCase} is `"auto"` and the auto-detected case sensitivity is determined to be
|
|
259
259
|
* case-insensitive.
|
|
260
260
|
*
|
|
261
|
-
*
|
|
261
|
+
* @default false
|
|
262
262
|
*/
|
|
263
263
|
organizeImportsCaseFirst: "upper" | "lower" | false;
|
|
264
264
|
providePrefixAndSuffixTextForRename: boolean;
|
|
@@ -273,6 +273,11 @@ interface UserPreferences {
|
|
|
273
273
|
* @since 4.5.2
|
|
274
274
|
* @default 'auto'
|
|
275
275
|
*/
|
|
276
|
+
/**
|
|
277
|
+
* @since 5.2.2
|
|
278
|
+
* @default true
|
|
279
|
+
*/
|
|
280
|
+
interactiveInlayHints: true,
|
|
276
281
|
jsxAttributeCompletionStyle: "auto" | "braces" | "none";
|
|
277
282
|
displayPartsForJSDoc: boolean;
|
|
278
283
|
generateReturnInDocTemplate: boolean;
|
|
@@ -309,6 +314,7 @@ From the `preferences` options listed above, this server explicilty sets the fol
|
|
|
309
314
|
includeCompletionsWithObjectLiteralMethodSnippets: true,
|
|
310
315
|
includeCompletionsWithInsertText: true,
|
|
311
316
|
includeCompletionsWithSnippetText: true,
|
|
317
|
+
interactiveInlayHints: true,
|
|
312
318
|
jsxAttributeCompletionStyle: "auto",
|
|
313
319
|
providePrefixAndSuffixTextForRename: true,
|
|
314
320
|
provideRefactorNotApplicableReason: true,
|
|
@@ -592,6 +598,7 @@ The `$/typescriptVersion` notification params include two properties:
|
|
|
592
598
|
- [x] textDocument/formatting
|
|
593
599
|
- [x] textDocument/hover
|
|
594
600
|
- [x] textDocument/inlayHint (no support for `inlayHint/resolve` or `workspace/inlayHint/refresh`)
|
|
601
|
+
- [x] textDocument/linkedEditingRange
|
|
595
602
|
- [x] textDocument/prepareCallHierarchy
|
|
596
603
|
- [x] callHierarchy/incomingCalls
|
|
597
604
|
- [x] callHierarchy/outgoingCalls
|