Search code examples
visual-studio-codevscode-tasks

A keybindings.json per workspace in Visual Studio Code


Is it possible to have a keybindings.json as part of the workspace settings instead of the user settings?

Since I have specific tasks associated to my workspace, I would also like to be able to assign workspace-specific shortcuts. Because I would use these shortcuts on my separate Windows and Linux environments, I would not prefer to see these key binding definitions end up amongst my environment-specific user settings.


Solution

  • This is not possible. Here Alexandru Dima (alexandrudima) explains why they do not want to add this feature and furthermore suggests to create your custom extension that contributes only keybindings to share them.