Open JoeRobich opened 3 years ago
Focusing on a different ToolWindow or Editor then back to the Interactive Window corrects the commands being sent.
My current hunch on the issue seems to be that the CommandUIGuid on the WindowFrame is set to the Interactive Window's guid, but doesn't take effect until there is a Focus change (this is the hunch part). Since a pinned ToolWindow becomes created and focused when unpinned, there is no focus change that allows the CommandUIGuid to take precendence to the MoveSelectedLinesUp command when Alt+Up is pressed.
Reported at developer community as https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1178927.
Workflow:
var a = 5;
Expected Outcome:
The current line should match the previous entry and read
var a = 5;
Actual Outcome:
No change to the current line. From debugging the CommandFilter,
pguidCmdGroup
is VsStd12 and thenCmdID
is MoveSelLinesUp.