I am basically an IntelliJ user, but sometimes I use VScode. And one of the few reasons I don't like VSCode too much is the lack of space and visibility for debugging and my keyboard shortcuts.
In this post, I can solve from an extension the second problem.
Install the extension on VSCode
I found how I can achieve my wish with IntelliJ IDEA Keybindings.
IntelliJ IDEA Key Bindings for Visual Studio Code
Build Status License: MIT Marketplace Version Install
Port of IntelliJ IDEA key bindings for VS Code. Includes keymaps for popular JetBrains products like IntelliJ Ultimate, WebStorm, PyCharm, PHP Storm, etc.
Export settings of your Jetbrains IDE
Go to File ππΌ Manage IDE Settings ππΌ Export Settings, and select just Keymaps (schemes). Unzip that. And you're done!
Usage
- Launch Code
- Open command pallet Ctrl-Shift-P (Windows) or Cmd-Shift-P (macOS)
- Choose Import IntelliJ Keybindngs (XML)
- Copy & Paste it into
keybindings.json
Top comments (9)
Thanks for this. Visual + straight to the point? This is how you write a How To ππ»ππ»ππ»
This helped me a lot, and makes my VS Code function as nicely as Android Studio. Thanks!
I'm glad my post helped you!
Thanks for sharing, I am on the same situation. I usually find myself trying an intellij shortcut on vs code, and unexpected things happen π
Glad you liked the post!
Me too, when I moved on VSCode, some shortcuts works differently, I'm regular with IntelliJ, I was lost π€£
Export Settings > Keymaps, Not an option on m1 Mac using IntelliJ IDEA Ultimate might it go by another name there are other values but not that one.
You'll need to make at least one update to the default keybindings for it to show up on that export list.
Dont work
What is not working?