Skip to content

Code action provider called twice on save #106924

@dbaeumer

Description

@dbaeumer

I register a code action provider using the following code action kinds "quickfix" and "source.fixAll.eslint".

Now add the following to the settings json

{
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
        "source.fixAll.eslint": true,
    }
}

Observe the code action provider is called twice on the same save. IMO the provider should only be called once.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-code-actionsEditor inplace actions (Ctrl + .)help wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions