Skip to content

Please check 'CodeActionContext.only' to only return requested code actions. #7

@Airkro

Description

@Airkro

Version: 0.1.0

Settings:

{
  "editor.codeActionsOnSave": [
    "source.organizeimports", // put anything before format
    "source.formatDocument",
    "source.fixAll.eslint"
  ]
}

Output panel:

[exthost] [warning] rohit-gohri.format-code-action - Code actions of kind 'source.fixAll.format'
requested but returned code action is of kind 'source.formatModified'. Code action will be dropped.
Please check 'CodeActionContext.only' to only return requested code actions.

[exthost] [warning] rohit-gohri.format-code-action - Code actions of kind 'source.formatDocument'
requested but returned code action is of kind 'source.formatModified'. Code action will be dropped.
Please check 'CodeActionContext.only' to only return requested code actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions