vscode
Silvester123
菜鸡一个
展开
-
VScode根据不同语言设置不同tab代表的空格个数
普通设置在vscode中,点击左下角的齿轮,点击setting(设置),然后在弹出的界面中,可以直接搜索tabsize,也可以在commonly used栏中找到tabsize,根据个人需要设置tab代表的空格个数即可。不同语言设置不同tab由于平时要写多个语言,有时js,有时c,有时java,但是不同语言有不同的缩进习惯,我个人写js,html,json等时习惯用两个空格缩进,但是像c,J...原创 2019-03-06 20:25:29 · 5028 阅读 · 0 评论 -
VScode 的 code snippet 中可以使用的一些变量(时间,日期等)
参考链接The following variables can be used:TM_SELECTED_TEXT The currently selected text or the empty stringTM_CURRENT_LINE The contents of the current lineTM_CURRENT_WORD The contents of the word un...原创 2019-05-20 16:08:42 · 6319 阅读 · 1 评论