typescript-language-server 3.3.1 → 3.3.3-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/README.md CHANGED
@@ -206,6 +206,61 @@ interface UserPreferences {
206
206
  importModuleSpecifierEnding: "auto" | "minimal" | "index" | "js";
207
207
  allowTextChangesInNewFiles: boolean;
208
208
  lazyConfiguredProjectsFromExternalProject: boolean;
209
+ /**
210
+ * Indicates whether imports should be organized in a case-insensitive manner.
211
+ *
212
+ * Default: `"auto"`.
213
+ */
214
+ organizeImportsIgnoreCase: "auto" | boolean;
215
+ /**
216
+ * Indicates whether imports should be organized via an "ordinal" (binary) comparison using the numeric value
217
+ * of their code points, or via "unicode" collation (via the
218
+ * [Unicode Collation Algorithm](https://unicode.org/reports/tr10/#Scope)) using rules associated with the locale
219
+ * specified in {@link organizeImportsCollationLocale}.
220
+ *
221
+ * Default: `"ordinal"`.
222
+ */
223
+ organizeImportsCollation: "ordinal" | "unicode";
224
+ /**
225
+ * Indicates the locale to use for "unicode" collation. If not specified, the locale `"en"` is used as an invariant
226
+ * for the sake of consistent sorting. Use `"auto"` to use the detected UI locale.
227
+ *
228
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
229
+ *
230
+ * Default: `"en"`
231
+ */
232
+ organizeImportsCollationLocale: string;
233
+ /**
234
+ * Indicates whether numeric collation should be used for digit sequences in strings. When `true`, will collate
235
+ * strings such that `a1z < a2z < a100z`. When `false`, will collate strings such that `a1z < a100z < a2z`.
236
+ *
237
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
238
+ *
239
+ * Default: `false`
240
+ */
241
+ organizeImportsNumericCollation: boolean;
242
+ /**
243
+ * Indicates whether accents and other diacritic marks are considered unequal for the purpose of collation. When
244
+ * `true`, characters with accents and other diacritics will be collated in the order defined by the locale specified
245
+ * in {@link organizeImportsCollationLocale}.
246
+ *
247
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
248
+ *
249
+ * Default: `true`
250
+ */
251
+ organizeImportsAccentCollation: boolean;
252
+ /**
253
+ * Indicates whether upper case or lower case should sort first. When `false`, the default order for the locale
254
+ * specified in {@link organizeImportsCollationLocale} is used.
255
+ *
256
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`. This preference is also
257
+ * ignored if we are using case-insensitive sorting, which occurs when {@link organizeImportsIgnoreCase} is `true`,
258
+ * or if {@link organizeImportsIgnoreCase} is `"auto"` and the auto-detected case sensitivity is determined to be
259
+ * case-insensitive.
260
+ *
261
+ * Default: `false`
262
+ */
263
+ organizeImportsCaseFirst: "upper" | "lower" | false;
209
264
  providePrefixAndSuffixTextForRename: boolean;
210
265
  provideRefactorNotApplicableReason: boolean;
211
266
  allowRenameOfImportPath: boolean;
@@ -537,6 +592,7 @@ The `$/typescriptVersion` notification params include two properties:
537
592
  - [x] textDocument/formatting
538
593
  - [x] textDocument/hover
539
594
  - [x] textDocument/inlayHint (no support for `inlayHint/resolve` or `workspace/inlayHint/refresh`)
595
+ - [x] textDocument/linkedEditingRange
540
596
  - [x] textDocument/prepareCallHierarchy
541
597
  - [x] callHierarchy/incomingCalls
542
598
  - [x] callHierarchy/outgoingCalls