Home
last modified time | relevance | path

Searched refs:fixId (Results 1 – 25 of 173) sorted by relevance

1234567

/third_party/typescript/src/services/
DcodeFixProvider.ts17 … string, changes: FileTextChanges[], description: DiagnosticAndArguments, fixId: {}, fixAllDescrip…
18 …return createCodeFixActionWorker(fixName, diagnosticToString(description), changes, fixId, diagnos…
21 …nWorker(fixName: string, description: string, changes: FileTextChanges[], fixId?: {}, fixAllDescri…
22 …return { fixName, description, changes, fixId, fixAllDescription, commands: command ? [command] : …
30 for (const fixId of reg.fixIds) { constant
31 Debug.assert(!fixIdToRegistration.has(fixId));
32 fixIdToRegistration.set(fixId, reg);
50 return ({ fixId, fixAllDescription, ...action }: CodeFixAction): CodeFixAction => {
51 return fixAllUnavailable ? action : { ...action, fixId, fixAllDescription };
63 return fixIdToRegistration.get(cast(context.fixId, isString))!.getAllCodeActions!(context);
/third_party/typescript/src/services/codefixes/
DuseBigintLiteral.ts3 const fixId = "useBigintLiteral"; constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Convert_to_a_bigint_numeric_literal, fixId
16 fixIds: [fixId],
DaddMissingInvocationForDecorator.ts3 const fixId = "addMissingInvocationForDecorator"; constant
9 …return [createCodeFixAction(fixId, changes, Diagnostics.Call_decorator_expression, fixId, Diagnost…
11 fixIds: [fixId],
DconvertConstToLet.ts3 const fixId = "fixConvertConstToLet"; constant
12 …return [createCodeFixAction(fixId, changes, Diagnostics.Convert_const_to_let, fixId, Diagnostics.C…
14 fixIds: [fixId]
DfixPropertyAssignment.ts3 const fixId = "fixPropertyAssignment"; constant
10 fixIds: [fixId],
15 …return [createCodeFixAction(fixId, changes, [Diagnostics.Change_0_to_1, "=", ":"], fixId, [Diagnos…
DaddMissingDeclareProperty.ts3 const fixId = "addMissingDeclareProperty"; constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Prefix_with_declare, fixId, Diagnostics.Pr…
16 fixIds: [fixId],
DfixUnusedLabel.ts3 const fixId = "fixUnusedLabel"; constant
9 …return [createCodeFixAction(fixId, changes, Diagnostics.Remove_unused_label, fixId, Diagnostics.Re…
11 fixIds: [fixId],
DfixConstructorForDerivedNeedSuperCall.ts3 const fixId = "constructorForDerivedNeedSuperCall"; constant
11 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_missing_super_call, fixId, Diagnostics…
13 fixIds: [fixId],
DaddConvertToUnknownForNonOverlappingTypes.ts3 const fixId = "addConvertToUnknownForNonOverlappingTypes"; constant
9 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_unknown_conversion_for_non_overlapping…
11 fixIds: [fixId],
DfixAddMissingNewOperator.ts3 const fixId = "addMissingNewOperator"; constant
10 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_missing_new_operator_to_call, fixId, D…
12 fixIds: [fixId],
DfixMissingCallParentheses.ts3 const fixId = "fixMissingCallParentheses"; constant
10 fixIds: [fixId],
17 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_missing_call_parentheses, fixId, Diagn…
DfixExpectedComma.ts3 const fixId = "fixExpectedComma"; constant
17 fixId,
20 fixId,
24 fixIds: [fixId],
DfixAddModuleReferTypeMissingTypeof.ts4 const fixId = fixIdAddMissingTypeof; constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_missing_typeof, fixId, Diagnostics.Add…
15 fixIds: [fixId],
DaddNameToNamelessParameter.ts3 const fixId = "addNameToNamelessParameter"; constant
9 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_parameter_name, fixId, Diagnostics.Add…
11 fixIds: [fixId],
DremoveUnnecessaryAwait.ts3 const fixId = "removeUnnecessaryAwait"; constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Remove_unnecessary_await, fixId, Diagnosti…
16 fixIds: [fixId],
DfixNoPropertyAccessFromIndexSignature.ts3 const fixId = "fixNoPropertyAccessFromIndexSignature"; constant
10 fixIds: [fixId],
15 …return [createCodeFixAction(fixId, changes, [Diagnostics.Use_element_access_for_0, property.name.t…
DsplitTypeOnlyImport.ts4 const fixId = "splitTypeOnlyImport"; constant
7 fixIds: [fixId],
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Split_into_two_separate_import_declaration…
DconvertToTypeOnlyImport.ts4 const fixId = "convertToTypeOnlyImport"; constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Convert_to_type_only_import, fixId, Diagno…
16 fixIds: [fixId],
DcorrectQualifiedNameToIndexedAccessType.ts3 const fixId = "correctQualifiedNameToIndexedAccessType"; constant
12 …return [createCodeFixAction(fixId, changes, [Diagnostics.Rewrite_as_the_indexed_access_type_0, new…
14 fixIds: [fixId],
DfixForgottenThisPropertyAccess.ts3 const fixId = "forgottenThisPropertyAccess"; constant
19 …return [createCodeFixAction(fixId, changes, [Diagnostics.Add_0_to_unresolved_variable, info.classN…
21 fixIds: [fixId],
DfixIncorrectNamedTupleSyntax.ts3 const fixId = "fixIncorrectNamedTupleSyntax"; constant
15 …return [createCodeFixAction(fixId, changes, Diagnostics.Move_labeled_tuple_element_modifiers_to_la…
17 fixIds: [fixId]
DconvertLiteralTypeToMappedType.ts3 const fixId = "convertLiteralTypeToMappedType"; constant
16 …return [createCodeFixAction(fixId, changes, [Diagnostics.Convert_0_to_1_in_0, constraint, name], f…
18 fixIds: [fixId],
DuseDefaultImport.ts3 const fixId = "useDefaultImport"; constant
12 …return [createCodeFixAction(fixId, changes, Diagnostics.Convert_to_default_import, fixId, Diagnost…
14 fixIds: [fixId],
DfixClassSuperMustPrecedeThisAccess.ts3 const fixId = "classSuperMustPrecedeThisAccess"; constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Make_super_call_the_first_statement_in_the…
15 fixIds: [fixId],
DfixClassDoesntImplementInheritedAbstractMember.ts7 const fixId = "fixClassDoesntImplementInheritedAbstractMember"; constant
14 … === 0 ? undefined : [createCodeFixAction(fixId, changes, Diagnostics.Implement_inherited_abstract…
16 fixIds: [fixId],

1234567