1.找到配置区域
设置–>用户代码片段–>选择你要配置什么文件的代码段–>配置你想要的代码段
2.代码段
(1)javascript
{
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
//注意:别用tab键加空格,得敲空格不然报错
"Print to console":