Skip to content

Feature Request: Select or Quickfix next problem by severity #208

@zardoy

Description

@zardoy

Hello! Many users come from webstorm which has fix anything command (alt+enter) which focuses on the next problem and popups codefix UI. I could use the following keybinding for this:

"command": "runCommands",
"args": {
    "commands": [
        "editor.action.marker.next",
        {
            "command": "editor.action.codeAction",
            "args": {
                "kind": "quickfix",
                "apply": "never"
            }
        }
    ]
}

it was truly awesome experience but I didn't like the fact that it always selected the closest problem (warning and info) ignoring the severity level (even with "problems.sortOrder": "severity")

On the other hand errorLens.selectProblem (instead of editor.action.marker.next) with "errorLens.selectProblemType": "closestSeverity" works just perfectly, but once you run this command it won't go to the next problem (cycle). I wonder whether it is possible to implement an internal tracking of already focused problems and ignore them until the position of the cursor is not changed by the user. WDYT?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions