Visual Studio Code: a little more on snippets

Firstly, the think I always forget after being away for a while: you invoke the snippets intellisense by doing CTRL-spacebar, on a PC, anyway.

While blindingly obvious, this is a real time saver…

{
 "Print to console": {
 "prefix": "BasicHtml",
 "body": [
 "<!DOCTYPE html>",
 "<html>",
 "\t<head>",
 "\t\t<title>From the snippets location in Visual Studio Code</title>",
 "\t\t<meta charset=\"utf-8\">",
 "\t\thttp://BasicStuff.js",
 "\t</head>",
 "\t<body>",
 "\t</body>",
 "</html>",
 "<!-- https://validator.w3.org/nu/#textarea -->"
 ],
 "description": "A basic snippet of HTML"
 }
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s