Skip to content

Commit a068f34

Browse files
committed
Fix comment
1 parent d7de752 commit a068f34

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/server/protocol.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3545,7 +3545,7 @@ export interface UserPreferences {
35453545
*
35463546
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
35473547
*
3548-
* Default: `true`
3548+
* Default: `false`
35493549
*/
35503550
readonly organizeImportsNumericCollation?: boolean;
35513551
/**
@@ -3562,7 +3562,10 @@ export interface UserPreferences {
35623562
* Indicates whether upper case or lower case should sort first. When `false`, the default order for the locale
35633563
* specified in {@link organizeImportsCollationLocale} is used.
35643564
*
3565-
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
3565+
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`. This preference is also
3566+
* ignored if we are using case-insensitive sorting, which occurs when {@link organizeImportsIgnoreCase} is `true`,
3567+
* or if {@link organizeImportsIgnoreCase} is `"auto"` and the auto-detected case sensitivity is determined to be
3568+
* case-insensitive.
35663569
*
35673570
* Default: `false`
35683571
*/

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,7 @@ declare namespace ts {
28302830
*
28312831
* This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
28322832
*
2833-
* Default: `true`
2833+
* Default: `false`
28342834
*/
28352835
readonly organizeImportsNumericCollation?: boolean;
28362836
/**

0 commit comments

Comments
 (0)