If you had been using PhpStorm for a long time and started to use VSCode recently, you must feel uncomfortable with the new Keyboard shortcuts.
The easiest way to migrate shortcuts from your IDE to VSCode: File->Preferences->Migrate Keyboards shortcuts from…
If you want just update some commands manually
I prepared a cheat sheet of the most important commands I use every hour during my work time. Column Shortcuts contains keys I set by myself (it’s not original). I think 2 first columns will be most helpful for you, so you can find the name of shortcuts in each IDE easier and set the shortcuts you want.
PhpStorm | VSCode | Shortcuts |
---|---|---|
Comment with line comment | Toggle Block Comment | Ctrl+Shift+Q |
Last Edit Location | Go Back in Edit Locations | Ctrl+Q |
Delete Line | Delete Line | Ctrl+E |
Move Statement Up | Move line Up | Ctrl+Shift+UpArrow |
Move Statement Down | Move line Down | Ctrl+Shift+DownArrow |
Expand selection | Expand selection | Ctrl+W |
Duplicate line or selection | Duplicate Selection | Ctrl+D |
Go to line/Column | Go to line/Column | Ctrl+G |
Recent Files | View: Show All Editors By most Recently Used | Ctrl+F10 |
Start new line | Insert line Below | Shift+Enter |
Leave a Comment