Posts

Visual Studio Code shortcuts and code emmeting

Shortcuts Command Description Ctrl + , To open settings Ctrl + ~ To open terminal F12 To open the function definition Alt + F12 To peek view the function F2 To Rename a method or a variable Ctrl   + F2 To rename all occurances Ctrl + C You don’t need to select a line to copy Alt + UP/Down Arrow To move a line up or down Alt + Shift + Up/Down To make a duplicate line Emmet the code Command Description h1.classname Prints <h1 class="classname"></h1> h1#id Prints <h1 id="id"></h1> li*4 Prints<li></li> four times ! Then tab Creates the html 5 template code