How to import VSCode keybindings into Visual Studi

2020-07-18 09:55发布

问题:

I want to use the default VSCode key bindings in Visual Studio, such as Ctrl + D for example.

回答1:

You can go to Tools -> Options -> Environment -> Keyboard as mentioned here.



回答2:

Not sure why you would want to switch from VS Code to Visual Studio... I am sure there is reason though just being a little sarcastic. This is a link that talks about key bindings in Visual Studio, not sure what version you're using.Key Bindings

However, I know you can import these settings into Visual Studio but follows a specific file extension. Probably not helpful, I wonder if there is some NuGet package that could incorporate those settings.

Regardless, for the most they are both Microsoft Products. Last I checked the shortcuts for the most part are fairly similar. If you're looking for something specific or want something specific I'd just modify it in the key bindings link above.