-
Notifications
You must be signed in to change notification settings - Fork 37
Description
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?