-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwin.settings.json
171 lines (168 loc) · 5.93 KB
/
win.settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"workbench.iconTheme": "material-icon-theme",
// "workbench.colorCustomizations": {
// "editor.lineHighlightBackground": "#1073cf2d",
// "editor.lineHighlightBorder": "#9fced11f"
// },
"editor.fontSize": 18,
"editor.codeActionsOnSave": {
"source.fixAll": true
// "source.fixAll.eslint": true,
// "source.fixAll.stylelint": true
},
"editor.wordWrap": "off",
"diffEditor.wordWrap": "off",
"editor.guides.indentation": true,
"editor.guides.bracketPairs": true,
"editor.unicodeHighlight.allowedLocales": {
"zh-hant": true
},
// "eslint.codeActionsOnSave.rules": null,
// "files.autoSaveDelay": 1000,
"files.autoSave": "onFocusChange",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[markdown]": {
"editor.formatOnSave": false
},
"editor.linkedEditing": true,
"editor.inlineSuggest.enabled": true,
"editor.rulers": [90],
"editor.overviewRulerBorder": false,
"editor.accessibilitySupport": "off",
"editor.quickSuggestions": {
"comments": "on",
"strings": "on"
},
// 代码片段配置
"editor.tabCompletion": "onlySnippets",
"editor.suggestSelection": "first",
// stylelint 配置
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"stylelint.validate": ["css", "scss", "less", "postcss", "scss", "vue", "sass"],
// prettier 设置
"prettier.useEditorConfig": false,
"prettier.singleQuote": true,
"prettier.bracketSameLine": true,
"prettier.jsxSingleQuote": true,
"prettier.embeddedLanguageFormatting": "off",
"prettier.printWidth": 90,
"prettier.semi": false,
"prettier.arrowParens": "avoid",
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"git.autofetch": true,
"diffEditor.ignoreTrimWhitespace": false,
"gitlens.currentLine.dateFormat": "YYYY-MM-DD HH:mm:ss",
"security.workspace.trust.untrustedFiles": "open",
"tabnine.experimentalAutoImports": true,
"fileheader.customMade": {
// "Hash": "不是路由组件",
// "Des": "",
"Author": "ZhouQiJun",
"Date": "Do not edit",
"LastEditors": "ZhouQiJun",
"LastEditTime": "Do not edit",
"Description": ""
},
"fileheader.cursorMode": {
"param": "",
"return": "",
"Author": "ZhouQiJun"
},
"fileheader.configObj": {
"autoAdd": true,
// "autoAlready": true, // 默认开启
"wideSame": true, // 设置为true开启
"wideNum": 12, // 字段长度 默认为13
"CheckFileChange": true, // 只有文件头改变,回滚到最新版
// "autoAddLine": 100,
"prohibitAutoAdd": ["json", "md", "less"], // 禁止.json .md 文件,自动添加头部注释
"dateFormat": "YYYY-MM-DD HH:mm:ss" // ZZ" // 日期格式 输出:2019-05-20 15:42:07 +0800
},
/* todo-tree settings */
// "todo-tree.regex.regex": "((//|#|<!--|;|/\\*|^)\\s*($TAGS):|^\\s*- \\[ \\])", // 在文件中匹配 tag 的正则
// "todo-tree.regex.regexCaseSensitive": false,//tag 是否大小写敏感
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.general.tags": ["TODO", "CHECKME", "FIXME", "BUG", "NOTE", "DEL"],
"todo-tree.highlights.defaultHighlight": {
// 默认 tag 设置
"background": "#6eff6b", //"peekViewResult.background", // 使用 // "yellow", // 标记的背景色
"foreground": "#222", // 标记前景色 (文字颜色)
"icon": "check", // 使用的图标
"rulerColour": "#FFFF00", // 在右侧快速预览的颜色
"type": "tag", // 在文件中如何高亮 tag:只高亮标签 text:标签和后面的文字 tag-and-comment:高亮注释和标签 text-and-comment:标签 文字和注释 line:标记的一行 whole-line:
"iconColour": "#fff" // 左侧 todo tree 图标的颜色,没有设置,使用前景色
},
"todo-tree.highlights.customHighlight": {
"BUG": {
"background": "#D01F00", // 红色
"foreground": "#f9f9fb",
"icon": "bug", // 显示的 icon
"rulerColor": "#D01F00", // 预览表标尺的颜色
"iconColour": "#D01F00", // todo 树中图标颜色
"gutterIcon": true // 是否在行号旁显示图标
},
"CHECKME": {
"background": "#3399CC", // 蓝色
"foreground": "#f9f9fb",
"iconColour": "#3399CC",
"icon": "checklist",
"rulerLane": "full",
"gutterIcon": true
},
"FIXME": {
"background": "#FF9900", // 黄色
"foreground": "#f9f9fb",
"iconColour": "#FF9900",
"icon": "alert", // 警告
"gutterIcon": true,
"type": "text" // 有文字部分(代码、tab、text), 后面的空白部分不高亮
},
"NOTE": {
"background": "#f9f9fb",
"foreground": "#000", // 黑色
"icon": "note",
// "type": "whole-line", // 整行高亮
"rulerColour": "#D1BC15",
"iconColour ": "white",
"hideFromTree": true // 在 todo 树中隐藏
},
"DEL": {
"background": "#FFC300",
"foreground": "#000", // 黑色
"icon": "eye",
// "type": "whole-line", // 整行高亮
"rulerColour": "#D1BC15",
"iconColour ": "white"
}
},
"todo-tree.general.statusBar": "tags",
"markdown.preview.breaks": true,
"svelte.enable-ts-plugin": true,
"svelte.plugin.svelte.note-new-transformation": false,
"cSpell.userWords": [
"Cascader",
"lgtd",
"pinia",
"Qijun",
"turnlatlon",
"vueuse",
"Zhou"
],
"codiga.showWelcomeMessage": false,
"blockman.n01LineHeight": 0,
"highlightLine.borderColor": "#dee2e6",
"highlightLine.borderWidth": "1px",
"volar.inlayHints.eventArgumentInInlineHandlers": false,
"volar.icon.splitEditors": true,
"terminal.integrated.inheritEnv": false,
"terminal.integrated.enableMultiLinePasteWarning": false,
"terminal.integrated.detectLocale": "on",
// "terminal.integrated.shellIntegration.decorationIcon": "C:dev-softGit\bin\bash.exe",
"terminal.integrated.defaultProfile.windows": "PowerShell"
}