Edited to add:
Adding:
"list.focusLast",
"list.focusPageDown"
to the multicommand brings focus to the penultimate entry, but surprisingly, not to the last entry.
CodePudding user response:
When stopped on a breakpoint, you are correct that list.focusLast
stops at the penultimate watch entry. I tried adding a small delay between commands and it seems to work fine - going to and selecting the last entry (you could try even smaller intervals
to see if they work too.
{
"key": "alt i", // whatever keybinding you want
"command": "extension.multiCommand.execute",
"args": {
"interval": 100,
"sequence": [
"editor.action.addSelectionToNextFindMatch",
"editor.debug.action.selectionToWatch",
"workbench.debug.action.focusWatchView",
"list.focusLast",
"list.select
]
}
}