If you used to use PhpStorm for long time and started to use VSCode recently, you must be feel uncomfortable with new Keyboard shortcuts.
The most easiest way to migrate shortcuts from your IDE to VSCode: File->Preferences->Migrate Keyboards shortcuts from…
If you want just update some command manually
I prepared 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 name of shortcuts in each IDE easier and set shortcut you want.
PhpStorm | VSCode | Shortcuts |
---|---|---|
Comment with line comment | Toggle Block Comments | 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