• Creates a new code action.

    Parameters

    • title: string

      The title of the code action.

    • Optionalkind: string

      The kind of the code action.

    Returns CodeAction

  • Creates a new code action.

    Parameters

    • title: string

      The title of the code action.

    • command: Command

      The command to execute.

    • Optionalkind: string

      The kind of the code action.

    Returns CodeAction

  • Creates a new code action.

    Parameters

    • title: string

      The title of the code action.

    • edit: WorkspaceEdit

      The edit to perform.

    • Optionalkind: string

      The kind of the code action.

    Returns CodeAction