问题
I would like to know if it´s possible to import keymap from IntelliJ or PHPStorm to Visual Studio. I´m used to work with IntelliJ IDE´s. Now I´m starting develop some apps in .NET and it´s kinda hard to get used to the new key schemes.
回答1:
Remark: This answer is four years old and a bit outdated. If you don't want to install ReSharper just to get the keymap, the other answers describe ways via (free) VS plugins.
The easiest way is probably to install ReSharper (by the same company that does IntelliJ), which gives you a choice to use the IntelliJ keyboard layout. Otherwise you'd have to find an exported settings file for Visual Studio which includes the already changed shortcuts, but I couldn't find any in a quick Google search.
You could apply the shortcuts with ReSharper, export your keyboard settings (Tools => Import and Export Settings), uninstall (or disable) ReSharper and re-import the files if necessary.
回答2:
Be advised, Resharper is not free.
I am using this plug-in Hot Keys 2017 - Keyboard Shortcuts
Choose IntelliJ IDEA Style for C# from Tools > Options > Keyboard and you will have IntelliJ shortcuts in Visual Studio 2017.
For Visual Studio 2015 there is a different plug-in
https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.HotKeys-KeyboardShortcuts
I didn't use it so not sure if it works as expected
回答3:
Adding to wise answer from Adil H. Raza
After Download and Install Hot Keys 2017 - Keyboard Shortcuts in your PC, try following these steps to configure IDEA key-map in Visual studio 2017
1.Goto options
2. Under Environment -> Keyboard, Pick the keyboard map of your choice
3. Finally apply the settings with Ok
HIH
来源:https://stackoverflow.com/questions/35706274/is-there-a-way-how-to-import-keyboard-shortcuts-from-intellij-to-visual-studio-2