mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Make adding overrides an preferred quick fix
This commit is contained in:
@@ -382,6 +382,7 @@ const preferredFixes = new Map<string, { readonly priority: number, readonly the
|
||||
[fixNames.forgottenThisPropertyAccess, { priority: 2 }],
|
||||
[fixNames.spelling, { priority: 0 }],
|
||||
[fixNames.addMissingAwait, { priority: 2 }],
|
||||
[fixNames.addMissingOverride, { priority: 2 }],
|
||||
[fixNames.fixImport, { priority: 1, thereCanOnlyBeOne: true }],
|
||||
]);
|
||||
|
||||
|
||||
@@ -15,3 +15,4 @@ export const forgottenThisPropertyAccess = 'forgottenThisPropertyAccess';
|
||||
export const spelling = 'spelling';
|
||||
export const fixImport = 'import';
|
||||
export const addMissingAwait = 'addMissingAwait';
|
||||
export const addMissingOverride = 'fixOverrideModifier';
|
||||
|
||||
Reference in New Issue
Block a user