Skip to content
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

Command for opening keybindings (JSON) of different platform #134338

Closed
zardoy opened this issue Oct 3, 2021 · 3 comments
Closed

Command for opening keybindings (JSON) of different platform #134338

zardoy opened this issue Oct 3, 2021 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code settings-sync

Comments

@zardoy
Copy link
Contributor

zardoy commented Oct 3, 2021

Type: Command request. Useful when settings sync is enabled.

There is builtin command Preferences: Open Keyboard Shortcuts (JSON). But it opens keybindings only of current platform, but sometimes I need to view / copy / or even modify shortcuts of different platforms.

I found only one solution. I need to go Troubleshooting tab of Settings Sync View, open lastSynckeybindings.json (Last Synced Remotes -> Keyboard Shortcuts). And parse via script, that will give JSON for each platform e.g.

{
    "windows": keybindings.json,
    "mac": keybindings.json
}
@sandy081 sandy081 added feature-request Request for new features or functionality settings-sync *out-of-scope Posted issue is not in scope of VS Code labels Oct 6, 2021
@zardoy
Copy link
Contributor Author

zardoy commented Dec 3, 2021

But why? I don't see a reason to not have it builtin.

I need sometimes to look at windows shortcuts when I'm on macos.

Implemented in extra-commands#openShortcutsOfAnotherPlatform...

@agoodshort
Copy link

Thanks for pointing this out @zardoy I was really surprised by default it is not possible to see the keybindings from different platform... Going to the troubleshooting tab did the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code settings-sync
Projects
None yet
Development

No branches or pull requests

4 participants
@sandy081 @agoodshort @zardoy and others