Skip to main content

Text Editor Shortcuts & Tips

Cheat Sheets​

HTML5 Boilerplate​

In pretty much any editor you can get an html boilerplate autofill to save yourself from all the repetitive html scaffolding. First the file must be saved as .html. Then just start typing out html and you will get several autofill prompts.

autofill prompt

autofill result

Comment out line​

type cmd + /

Comment out Multiple Lines​

In Visual Studio use shft + alt + a to comment multiple lines at once

In AWS Cloud 9 us shft + ctrl + / to comment multiple lines at once

Lorem Ipsum​

type lorem and then enter

Multiple Cursors (Type on several rows at once)​

To type on several rows at once hold the cmd key (mac) or alt (pc) and click wherever you would like an additional cursor.

Comments