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

    Hierarchy (View Summary)

    Index

    Properties

    changes: FileCodeEdits[]

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

    commands?: {}[]

    A command is an opaque object that should be passed to ApplyCodeActionCommandRequestArgs without modification.

    description: string

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

    fixAllDescription?: string

    Should be present if and only if 'fixId' is.

    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.