-
Notifications
You must be signed in to change notification settings - Fork 28.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keybind with when: panelPosition == right
doesn't work
#143357
Comments
/assign @sbatten |
Those commands:
don't move the Panel. They move the views within the Panel to the Side Panel or vice versa. That is more clear when you look at the command descriptions rather than the command ids. It does appear as if the Panel is moving because it closes automatically once all the views within it are moved elsewhere. So the What are you trying to accomplish? If you want to move the Panel from the bottom to the side or vice versa use: {
"key": "shift+alt+j",
"command": "workbench.action.positionPanelBottom",
"when": "panelPosition == 'right'"
},
{
"key": "shift+alt+j",
"command": "workbench.action.positionPanelRight",
"when": "panelPosition == 'bottom'"
} |
all the information from @ArturoDent is correct, but its a good callout of some UX ambiguity |
Sorry... totally misread the last comment. Thanks for the help with this. |
@ArturoDent has provided the recommended keybindings for the scenario that you want to move the panel instead of moving the views to the side panel. (Side panel name is leading to confusion and will likely be revisited soon). |
@sbatten @ArturoDent I'm so sorry, I didn't really realized the shortcuts are different. Now I see. I just misread it sorry. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Shift + Option + J
, it will move the panel to the side panel on the right sideShift + Option + J
again and nothing happend. It should move it back to the bottom.when
condition is removed for moving it to the bottom and the other keybind is disabled, it works. So it seems like thepanelPosition == 'right'
is not recognized.This worked on older versions of vscode. After the upgrade I had to update the commands (as explained in the release notes about new side panel), but I kept the
when
condition the same.I know there were several issues with this which were fixed. And I also found this issue #142749 which reference the same problem but was closed as duplicate referencing other issue which doesn't seem like the same thing (the desrcription was about resizing, not moving and the commits associated with it also does not reference any panel position properties). It was mentioned also that the problem was not reproduced in the insider version. However, I can reproduce it in the insider obtained from the webpage.
The text was updated successfully, but these errors were encountered: