掘友等级
获得徽章 0
#请回答2021# 最开心的事是和喜欢的人住一起了,每天看到他都觉得很治愈。轻声细语的,会照顾我,会给我找教程,看到他下班回家,整个人都明朗起来了。
2020年5月20日
新增女友0
确诊女友0
疑似女友0
境外女友0
分享下我很喜欢的VScode下的代码片段
点击做左上角文件 => 首选项 => 用户片段,添加
{
"Print to console": {
"prefix": "csl",
"body": [
"console.log($1);"
],
"description": "Log output to console"
},
"Print to if": {
"prefix": "if",
"body": [
"if($1){}"
],
"description": "Log output to if"
},
"Print to for with length": {
"prefix": "forl",
"body": [
"for (let i = 0; i < $1.length; i++) {",
" ",
"}"
],
"description": "Log output to if"
},
"Print to Multi-line comments": {
"prefix": "///",
"body": [
"\/**",
" * $1",
" **\/"
],
"description": "Log output to console"
}
}
这样你想输入console.log()的时候,只需要输入csl后敲击Tab就可以快速输出你定义的模板代码啦
你要是在我身边就好了
这句话并不是在怪你
而是这瞬间
我比平时要更想你
下一页