Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Visual Studio use VS code shortcut keys / key bindings

I've been using VSCode a lot lately and have gotten used to the keys-shortcuts/key-bindings (Ctrl+D, Ctrl+P, Alt+leftArrow, etc). However I've recently had some work where I needed to use regular Visual Studio (Microsoft Visual Studio Enterprise 2019) and it's painful remembering two different shortcut keys.

Is there a way to import VSCode key-shortcuts to into regular Visual Studio?

I've looked at this question and there wasn't much help besides manually changing them one at a time.

UPDATE: now the above post answers the question now that I posed Francois du Plessis's answer there.

like image 613
RayLoveless Avatar asked May 27 '20 19:05

RayLoveless


People also ask

How do I customize my keyboard shortcuts in Visual Studio Code?

Customize your keyboard shortcuts. Keyboard Shortcut: ⌘K ⌘S (Windows, Linux Ctrl+K Ctrl+S) You can search for shortcuts and add your own keybindings to the keybindings.json file. See more in Key Bindings for Visual Studio Code.

What is keybindings editor in Visual Studio Code?

Keyboard Shortcuts editor. Visual Studio Code provides a rich and easy keyboard shortcuts editing experience using Keyboard Shortcuts editor. It lists all available commands with and without keybindings and you can easily change / remove / reset their keybindings using the available actions.

How do I get my vs keyboard shortcuts in VSCode?

I want my VS shortcuts in VSCode If you go to Tools -> Options -> Environment -> Keyboard. There should be an option to select Visual Studio Code as a Keyboard mapping scheme This is what I was looking for. Thanks. I'm not getting all of the functionality of the vscode key bindings. Could something be interfering?

Is there a Visual Studio keymap for Visual Studio Code?

Visual Studio Keymap for Visual Studio Code. This extension ports popular Visual Studio keyboard shortcuts to Visual Studio Code. After installing the extension and restarting VS Code your favorite keyboard shortcuts from Visual Studio are now available. You can see all the keyboard shortcuts in the extension's contribution list.


1 Answers

If you go to Tools -> Options -> Environment -> Keyboard. There should be an option to select Visual Studio Code as a Keyboard mapping scheme Screenshot of the configuration

like image 186
Francois du Plessis Avatar answered Sep 21 '22 06:09

Francois du Plessis