mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
add descriptions, refactor getPreferences function to be more clear
This commit is contained in:
@@ -192,19 +192,25 @@
|
||||
"typescript.preferences.renameMatchingJsxTags": "When on a JSX tag, try to rename the matching tag instead of renaming the symbol. Requires using TypeScript 5.1+ in the workspace.",
|
||||
"typescript.preferences.organizeImports": "Advanced preferences that control how imports are ordered.",
|
||||
"javascript.preferences.organizeImports": "Advanced preferences that control how imports are ordered.",
|
||||
"typescript.preferences.organizeImports.caseSensitivity": "Specifies how imports should be sorted with regards to case-sensitivity. If `auto` or unspecified, we will detect the case-sensitivity per file",
|
||||
"typescript.preferences.organizeImports.caseSensitivity.auto": "Detect case-sensitivity for import sorting.",
|
||||
"typescript.preferences.organizeImports.caseSensitivity.insensitive": "Sort imports case-insensitively.",
|
||||
"typescript.preferences.organizeImports.caseSensitivity.sensitive": "Sort imports case-sensitively.",
|
||||
"typescript.preferences.organizeImports.typeOrder": "Specify how type-only named imports should be sorted.",
|
||||
"typescript.preferences.organizeImports.typeOrder.auto": "Detect where type-only named imports should be sorted.",
|
||||
"typescript.preferences.organizeImports.typeOrder.last": "Type only named imports are sorted to the end of the import list.",
|
||||
"typescript.preferences.organizeImports.typeOrder.inline": "Named imports are sorted by name only.",
|
||||
"typescript.preferences.organizeImports.typeOrder.first": "Type only named imports are sorted to the end of the import list.",
|
||||
"typescript.preferences.organizeImports.unicodeCollation": "Specify whether to sort imports using Unicode or Ordinal collation.",
|
||||
"typescript.preferences.organizeImports.unicodeCollation.ordinal": "Sort imports using the numeric value of each code point.",
|
||||
"typescript.preferences.organizeImports.unicodeCollation.unicode": "Sort imports using the Unicode code collation.",
|
||||
"typescript.preferences.organizeImports.locale": "Overrides the locale used for collation. Specify `auto` to use the UI locale. Only applies to `organizeImportsCollation: 'unicode'`.",
|
||||
"typescript.preferences.organizeImports.caseFirst": "Indicates whether upper-case comes before lower-case. Only applies to `organizeImportsCollation: 'unicode'`.",
|
||||
"typescript.preferences.organizeImports.numericCollation": "Sort numeric strings by integer value.",
|
||||
"typescript.preferences.organizeImports.accentCollation": "Compare characters with diacritical marks as unequal to base character.",
|
||||
"typescript.preferences.organizeImports.locale": "Requires `organizeImports.unicodeCollation: 'unicode'`. Overrides the locale used for collation. Specify `auto` to use the UI locale.",
|
||||
"typescript.preferences.organizeImports.caseFirst": "Requires `organizeImports.unicodeCollation: 'unicode'`, and `organizeImports.caseSensitivity` is not `caseInsensitive`. Indicates whether upper-case will sort before lower-case.",
|
||||
"typescript.preferences.organizeImports.caseFirst.default": "Default order given by `locale`.",
|
||||
"typescript.preferences.organizeImports.caseFirst.lower": "Lower-case comes before upper-case. E.g.` a, A, z, Z`.",
|
||||
"typescript.preferences.organizeImports.caseFirst.upper": "Upper-case comes before lower-case. E.g. ` A, a, B, b`.",
|
||||
"typescript.preferences.organizeImports.numericCollation": "Requires `organizeImports.unicodeCollation: 'unicode'`. Sort numeric strings by integer value.",
|
||||
"typescript.preferences.organizeImports.accentCollation": "Requires `organizeImports.unicodeCollation: 'unicode'`. Compare characters with diacritical marks as unequal to base character.",
|
||||
"typescript.workspaceSymbols.scope": "Controls which files are searched by [Go to Symbol in Workspace](https://code.visualstudio.com/docs/editor/editingevolved#_open-symbol-by-name).",
|
||||
"typescript.workspaceSymbols.scope.allOpenProjects": "Search all open JavaScript or TypeScript projects for symbols.",
|
||||
"typescript.workspaceSymbols.scope.currentProject": "Only search for symbols in the current JavaScript or TypeScript project.",
|
||||
|
||||
Reference in New Issue
Block a user