@servicenow/sdk - v4.4.1
    Preparing search index...
    interface CodeFixAction {
        changes: tsc.FileTextChanges[];
        commands?: InstallPackageAction[];
        description: string;
        fixAllDescription?: string;
        fixId?: {};
        fixName: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    changes: tsc.FileTextChanges[]

    Text changes to apply to each file as part of the code action

    If the user accepts the code fix, the editor should send the action back in a applyAction request. This allows the language service to have side effects (e.g. installing dependencies) upon a code fix.

    description: string

    Description of the code action to display in the UI of the editor

    fixAllDescription?: string
    fixId?: {}

    If present, one may call 'getCombinedCodeFix' with this fixId. This may be omitted to indicate that the code fix can't be applied in a group.

    fixName: string

    Short name to identify the fix, for use by telemetry.