mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
Experimentally marking a few more quick fixes as preferred
This commit is contained in:
@@ -304,9 +304,12 @@ class TypeScriptQuickFixProvider implements vscode.CodeActionProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const preferredFixes = new Set([
|
const preferredFixes = new Set([
|
||||||
|
'annotateWithTypeFromJSDoc',
|
||||||
'constructorForDerivedNeedSuperCall',
|
'constructorForDerivedNeedSuperCall',
|
||||||
|
'extendsInterfaceBecomesImplements',
|
||||||
'fixClassIncorrectlyImplementsInterface',
|
'fixClassIncorrectlyImplementsInterface',
|
||||||
'fixUnreachableCode',
|
'fixUnreachableCode',
|
||||||
|
'forgottenThisPropertyAccess',
|
||||||
'spelling',
|
'spelling',
|
||||||
'unusedIdentifier',
|
'unusedIdentifier',
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user