MCPcopy
hub / github.com/alm-tools/alm / QuickFix

Interface QuickFix

src/server/workers/lang/quickFix/quickFix.ts:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40export interface QuickFix {
41 /** Some unique key. Classname works best ;) */
42 key: string;
43
44 canProvideFix(info: QuickFixQueryInformation): CanProvideFixResponse;
45
46 provideFix(info: QuickFixQueryInformation): types.Refactoring[];
47}
48
49/** Utility method. Reason is we want to transact by file path */
50export const getRefactoringsByFilePath = types.getRefactoringsByFilePath;

Callers 2

getQuickFixesFunction · 0.65
applyQuickFixFunction · 0.65

Implementers 8

QuotesToQuotessrc/server/workers/lang/quickFix/quick
EqualsToEqualssrc/server/workers/lang/quickFix/quick
ImplementInterfacesrc/server/workers/lang/quickFix/quick
QuoteToTemplatesrc/server/workers/lang/quickFix/quick
StringConcatToTemplatesrc/server/workers/lang/quickFix/quick
AddClassMembersrc/server/workers/lang/quickFix/quick
TypeAssertPropertyAccessToAnysrc/server/workers/lang/quickFix/quick
SingleLineCommentToJsdocsrc/server/workers/lang/quickFix/quick

Calls

no outgoing calls

Tested by

no test coverage detected