20 VS Code Shortcuts for faster coding
VS Code shortcuts This article hopes to help people using VS Code to code even faster. Not everyone has time to go through every tip and trick to find the ones that help them code faster — there’s just too many. So I’ll list my favorite shortcuts that make me a fast coder. Let’s start. Join Line Join line On Mac: Ctrl+J On Ubuntu, Windows : Open keyboard shortcuts from File > Preferences > Keyboard shortcuts , and bind editor.action.joinLines to a shortcut of your choice. Code Formatting This shortcut helps to indent the code as already set up in the editor settings. Code formatting Tip: Use this in the end or the start. I prefer using it when I’m done with the code in a file. On Windows: Shift + Alt + F On Mac: Shift + Option + F On Ubuntu: Ctrl + Shift + I Trim Trailing White Space This command help to get rid of extra white space at the beginning and end and will save you from any type of strict Lints. Trim white space Tip: Use this in the end, once you’re done with...