46

I would like to know if it´s possible to import keymap from IntelliJ or PHPStorm to Visual Studio. I´m used to working with IntelliJ IDE´s. Now I´m starting to develop some apps in .NET and it´s kinda hard to get used to the new key schemes.

Maria Ines Parnisari
  • 16,584
  • 9
  • 85
  • 130
Libor Váchal
  • 563
  • 1
  • 4
  • 6

4 Answers4

40

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

Tom
  • 1,223
  • 1
  • 16
  • 27
Adil H. Raza
  • 1,649
  • 20
  • 25
33

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.Go to options

Goto options

2. Under Environment -> Keyboard, Pick the keyboard map of your choice

Pick the Keymap of your choice

3. Finally apply the settings with OK

Finally apply the settings

CopsOnRoad
  • 237,138
  • 77
  • 654
  • 440
mrsrinivas
  • 34,112
  • 13
  • 125
  • 125
21

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.

enter image description here

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.

Lennart
  • 9,657
  • 16
  • 68
  • 84
  • The solution below is much better and this solution should be updated! It references to a paid 3rd party plugin - just to use a build in feature. – Bjego Jan 08 '20 at 07:27
  • @Bjego IIRC, the IntelliJ keymap is fairly new and didn't exist back then (this answer is almost 4 years old!). Since it still works (and the supplied IntellJ keymap is different from the one R# uses), and the other answers detail the newer/free/better solutions, I'm not sure what I should change in this answer. – Lennart Jan 08 '20 at 12:37
  • sounds okay for me. But maybe you could add a hint that there is a plugin free solution these days. To make it more obvious that this was the right solution 4 years ago :) – Bjego Jan 08 '20 at 15:30
  • I think the solution bellow by @mrsrinivas should be the correct one as it is free, easy to install and just works. – Ariel Yust Nov 18 '21 at 10:45
0

If you're having trouble finding the Intellij keyboard map option in Visual Studio 2017, try this:

  1. Go to Tools > Options > Keyboard Shortcuts.

  2. Select the "Load Shortcuts" button.

  3. Choose "Intellij Idea" from the dropdown menu.

This should allow you to use the Intellij keyboard map in Visual Studio 2017.