Skip to content

Commit 2e46823

Browse files
committed
fix some spelling mistakes in settings
1 parent 1d439f2 commit 2e46823

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

src/configurationType.ts

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type ReplaceRule = {
1515
fileNamePattern?: string
1616
languageMode?: keyof typeof ScriptKind
1717
}
18-
/** by default only first entry is proccessed */
18+
/** by default only first entry is processed */
1919
processMany?: boolean
2020
delete?: boolean
2121
/**
@@ -25,7 +25,7 @@ type ReplaceRule = {
2525
patch?: Partial<{
2626
name: string
2727
kind: keyof typeof ScriptElementKind
28-
/** Might be useless when `correntSorting.enable` is true */
28+
/** Might be useless when `correctSorting.enable` is true */
2929
sortText: string
3030
insertText: string | true
3131
/** Wether insertText differs from completion name */
@@ -36,7 +36,7 @@ type ReplaceRule = {
3636
description?: string
3737
}
3838
}>
39-
/** Works only with `correntSorting.enable` set to true (default) */
39+
/** Works only with `correctSorting.enable` set to true (default) */
4040
// movePos?: number
4141
/** When specified, `movePos` is ignored */
4242
// TODO!
@@ -86,7 +86,7 @@ export type Configuration = {
8686
'patchToString.enable': boolean
8787
/**
8888
* Format of this setting is very close to `jsxCompletionsMap` setting:
89-
* `path#symbol` (exact) or `path/*#symbol` (`#symbol` part can be ommited)
89+
* `path#symbol` (exact) or `path/*#symbol` (`#symbol` part can be omitted)
9090
*
9191
* Note: Please use `javascript`/`typescript.preferences.autoImportFileExcludePatterns` when possible, to achieve better performance!
9292
*
@@ -132,7 +132,7 @@ export type Configuration = {
132132
* @default prefer-before-position
133133
*/
134134
'suggestions.localityBonusMode': 'prefer-before-position' | 'nearest-to-position'
135-
// TODO! corrent watching!
135+
// TODO! correct watching!
136136
/**
137137
* Wether to enable snippets for array methods like `items.map(item => )`
138138
* @default false
@@ -150,7 +150,7 @@ export type Configuration = {
150150
*/
151151
'arrayMethodsSnippets.addOuterTabStop': boolean
152152
/**
153-
* If set to `false` and singular item name can't be inffered, feature will be disabled
153+
* If set to `false` and singular item name can't be inferred, feature will be disabled
154154
* @default item
155155
*/
156156
'arrayMethodsSnippets.defaultItemName': string | false
@@ -280,12 +280,12 @@ export type Configuration = {
280280
*/
281281
'jsxPseudoEmmet.tags': { [tag: string]: true | string }
282282
/**
283-
* Exclude lowercase / incorrent suggestions
283+
* Exclude lowercase / incorrect suggestions
284284
* @default true
285285
*/
286286
'jsxImproveElementsSuggestions.enabled': boolean
287287
/**
288-
* Recommended to enable to experience less uneeded suggestions unless you are using JSX Elements declared in namespaces
288+
* Recommended to enable to experience less useless suggestions unless you are using JSX Elements declared in namespaces
289289
* @default false
290290
*/
291291
'jsxImproveElementsSuggestions.filterNamespaces': boolean
@@ -343,7 +343,7 @@ export type Configuration = {
343343
miscDefinitionImprovement: boolean
344344
// todo change setting format to: vue.*
345345
/**
346-
* Removes definiion suggestion from vue `components` options.
346+
* Removes definition suggestion from vue `components` options.
347347
* Might be useful with [Vetur-extended goToDefinition](https://github.com/zardoy/vetur-extended/blob/main/src/gotoDefinition.ts) for components as a replacement for (https://github.com/vuejs/language-tools/issues/1245)
348348
* @default false
349349
*/
@@ -436,7 +436,7 @@ export type Configuration = {
436436
*/
437437
'disableMethodSnippets.jsxAttributes': boolean
438438
/**
439-
* Support `@ts-diagnostic-disable` top-level comment for disabling spefici semantic diagnostics
439+
* Support `@ts-diagnostic-disable` top-level comment for disabling specific semantic diagnostics
440440
* Example: `// @ts-diagnostic-disable
441441
* Advanced usage only! Enable in `.vscode/settings.json` for projects that need this
442442
* Since its changes only IDE experience, but not tsc
@@ -470,15 +470,15 @@ export type Configuration = {
470470
*/
471471
switchExcludeCoveredCases: boolean
472472
/**
473-
* Make completions case-sensetive (see https://github.com/microsoft/TypeScript/issues/46622)
473+
* Make completions case-sensitive (see https://github.com/microsoft/TypeScript/issues/46622)
474474
* Might be enabled by default in future. Experimental as for now compares only start of completions.
475475
* Might require completion retrigger if was triggered by not quick suggestions.
476476
* @default false
477477
*/
478478
caseSensitiveCompletions: boolean
479479
/**
480480
* Might be useful to enable for a moment. Note, that you can bind shortcuts within VSCode to quickly toggle settings like this
481-
* Also experimental and wasnt tested in all cases
481+
* Also experimental and wasn't tested in all cases
482482
* Like described in `caseSensitiveCompletions` might require completion retrigger
483483
* @default false
484484
*/
@@ -487,6 +487,7 @@ export type Configuration = {
487487
* Disable useless highlighting,
488488
* @default disable
489489
*/
490+
// todo fix spelling
490491
disableUselessHighlighting: 'disable' | 'inJsxArttributeStrings' | 'inAllStrings'
491492
/**
492493
* Improve JSX attribute completions:
@@ -497,7 +498,7 @@ export type Configuration = {
497498
improveJsxCompletions: boolean
498499
/**
499500
* Replace JSX completions by map with `tagName#attribute` pattern as keys
500-
* `tagName` can be ommited, but not `attribute` for now
501+
* `tagName` can be omitted, but not `attribute` for now
501502
* Example usages:
502503
* - `#className`: `insertText: "={classNames$1}"`
503504
* - `button#type`: `insertText: "='button'"`
@@ -560,7 +561,7 @@ export type Configuration = {
560561
*/
561562
'experiments.excludeNonJsxCompletions': boolean
562563
/**
563-
* Wether to change funcntion completions to function kind
564+
* Wether to change function completions to function kind
564565
* @default false
565566
*/
566567
'experiments.changeKindToFunction': boolean
@@ -605,7 +606,7 @@ export type Configuration = {
605606
*/
606607
useDefaultImport?: boolean
607608
/**
608-
* Set to `false` if module is acessible from global variable
609+
* Set to `false` if the module is accessible from the global variable
609610
* For now not supported in add all missing imports code action
610611
* @default true */
611612
addImport?: boolean
@@ -637,7 +638,7 @@ export type Configuration = {
637638
}
638639
}
639640

640-
// scrapped using search editor. config: caseInsesetive, context lines: 0, regex: const fix\w+ = "[^ ]+"
641+
// scrapped using search editor. config: caseInsensitive, context lines: 0, regex: const fix\w+ = "[^ ]+"
641642
type FixId =
642643
| 'addConvertToUnknownForNonOverlappingTypes'
643644
| 'addMissingAsync'

0 commit comments

Comments
 (0)