Shortcuts make our development so easy.
I am going to tell you how do you enable shortcuts in one of our favorite editors.
When I build UI, I am a big fan of console messages for checking responses/debugging.
So I have customised cmd + shift + l = console.log('');
How do I achieve that?
Open VS Code and Search - Keyboard shortcuts (JSON)
Write your custom keybindings as below
Similarly, you can add n number of Objects and assign unique keystrokes.
[Example gist (https://gist.githubusercontent.com/shirshandu/f85149bd2014eaaff623ae58e7a62ee3/raw/295a8825dbfbb35a58abf63eb2501000eaee33fd/shortcuts.json)
Top comments (0)