


This will help you to avoid unnecessary errors.įor Mac – ⌃ + Space 8.F12 => Go to Definition A dialogue box will appear to list out all methods and variable that available in TS. This Key helps you to get a suggestion for your code. This Key helps you to remove a line where currently your cursor is present on.įor Mac – ⇧ + ⌘ + K 7.Ctrl + Space => Trigger Suggestion Selected words in the line will be highlighted and excluding the whitespaces in the end.įor Mac – ⌘ + L 6.Ctrl + Shift + K = > Delete line This key will help you to select your current line without effortlessly. And don’t forget to provide a description to that comment.įor Mac – ⇧ + ⌥ + A 5.Ctrl + L => Select Current Line
VISUAL STUDIO FOR MAC BLOCK COMMENT CODE
Keep your deprecated code by comments for future use. This key will help you to comment on your code. But, formatting code requires extra attention while you merge your code with remote branches.įor Mac – ⇧ + ⌥ + F READ MORE: Top 9 Must-Have Visual Studio Code Extensions for Developers 4. Formating code is one of good practices in coding. This key help you to format your HTML and TS code. So, we can easily move to previous files.įor Mac – ⌃ + ⇧ + Tab 3.Ctrl + Shift + I => Format document This key helps you to navigate between files that you have currently opened or worked in the editor group history. When you need to move a new file it makes things easier.įor Mac – ⌘ + P 2.Ctrl + Shift + Tab => Navigate editor group history It opens a dialogue box and supports fuzzy search to get your file. This Key helps to search and open a file in your working directory. Here, we will discuss the default keymap of visual studio code. Also, it provides various extensions libraries for keymap. Visual Studio Code provides almost every feature by command that is accessible via the command palette or via a shortcut on your keyboard. So, let see the best shortcut keys for the boring stuff that needs to be repeated while coding. Hopefully, it gives you a faster and smarter way to do your work. Shortcuts are the most helpful tools for developers while coding.
