{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/62818","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/62818/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/62818/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/62818/events","html_url":"https://github.com/Microsoft/vscode/issues/62818","id":378963063,"node_id":"MDU6SXNzdWUzNzg5NjMwNjM=","number":62818,"title":"New 'when' clause context: activityBarVisible","user":{"login":"LucaMoschella","id":11019190,"node_id":"MDQ6VXNlcjExMDE5MTkw","avatar_url":"https://avatars3.githubusercontent.com/u/11019190?v=4","gravatar_id":"","url":"https://api.github.com/users/LucaMoschella","html_url":"https://github.com/LucaMoschella","followers_url":"https://api.github.com/users/LucaMoschella/followers","following_url":"https://api.github.com/users/LucaMoschella/following{/other_user}","gists_url":"https://api.github.com/users/LucaMoschella/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaMoschella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaMoschella/subscriptions","organizations_url":"https://api.github.com/users/LucaMoschella/orgs","repos_url":"https://api.github.com/users/LucaMoschella/repos","events_url":"https://api.github.com/users/LucaMoschella/events{/privacy}","received_events_url":"https://api.github.com/users/LucaMoschella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-08T23:37:48Z","updated_at":"2018-11-08T23:48:47Z","closed_at":null,"author_association":"NONE","body":"If I'm not mistaken, in the possible \"when\" [clause contexts](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts) it is missing the context: `activityBarVisible`\r\nIt's toggle is: `workbench.action.toggleActivityBarVisibility`\r\n\r\n\r\nIt would be useful to implement a shortcut that toggles both the sidebar and activity bar visibility togheter."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/437198704","html_url":"https://github.com/Microsoft/vscode/issues/62818#issuecomment-437198704","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/62818","id":437198704,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzE5ODcwNA==","user":{"login":"usernamehw","id":9638156,"node_id":"MDQ6VXNlcjk2MzgxNTY=","avatar_url":"https://avatars2.githubusercontent.com/u/9638156?v=4","gravatar_id":"","url":"https://api.github.com/users/usernamehw","html_url":"https://github.com/usernamehw","followers_url":"https://api.github.com/users/usernamehw/followers","following_url":"https://api.github.com/users/usernamehw/following{/other_user}","gists_url":"https://api.github.com/users/usernamehw/gists{/gist_id}","starred_url":"https://api.github.com/users/usernamehw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usernamehw/subscriptions","organizations_url":"https://api.github.com/users/usernamehw/orgs","repos_url":"https://api.github.com/users/usernamehw/repos","events_url":"https://api.github.com/users/usernamehw/events{/privacy}","received_events_url":"https://api.github.com/users/usernamehw/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T23:48:47Z","updated_at":"2018-11-08T23:48:47Z","author_association":"CONTRIBUTOR","body":"You can use Settings keys in `when`:\r\n```json\r\n\"when\": \"config.workbench.activityBar.visible\"\r\n```\r\nMaybe it would be possible to toggle them if there was a way to execute multiple commands: #871. \r\nOr using an extension: [macros](https://marketplace.visualstudio.com/items?itemName=geddski.macros).\r\n\r\n"}}
{"actor":{"display_login":"usernamehw"}}