-
Notifications
You must be signed in to change notification settings - Fork 31k
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
API: Expose list of keybindings #162433
Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Also: This api reference is wrong: there is no more keybindings.json link in file menu ! https://code.visualstudio.com/api/references/commands#simple-commands |
@boltex, it's not in file menu, it's in keybinding shortcuts tab: |
@vanowm Sorry, but This just gives the user's locally modified/additional keybindings. Not the whole list. |
@vanowm Additionally, the help snippet I clipped above also precisely states that this (missing) link should give the list of all unbound commands, not just the user's additional custom keybindings. |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
You can use the command Open Default Keyboard Shortcuts (JSON) to get the list. |
@tshino we are talking about API - aka programmatically access. |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Unless I'm missing something, there is no way of getting list of currently registered keyboard shortcuts.
For extensions we have to parse
package.json
to get the default keybindings and then find and parsekeybindings.json
to get current. There is seems to be no way of getting list of all registered keyboard shortcuts.Some use cases:
The text was updated successfully, but these errors were encountered: