Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jingqi.liu
pica-admin-consultation
提交
ed6fd303
提交
ed6fd303
编写于
10月 19, 2021
作者:
xiaoping.di
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xiugai list-new
上级
d828111a
变更
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
0 行增加
和
100 行删除
+0
-100
settings.json
.vscode/settings.json
+0
-100
未找到文件。
.vscode/settings.json
已删除
100644 → 0
浏览文件 @
d828111a
{
//
是否允许自定义的snippet片段提示
"editor.snippetSuggestions"
:
"top"
,
//
vscode默认启用了根据文件类型自动设置tabsize的选项
"editor.detectIndentation"
:
false
,
//
重新设定tabsize
"editor.tabSize"
:
2
,
//
#每次保存的时候自动格式化
"editor.formatOnSave"
:
false
,
//
#每次保存的时候将代码按eslint格式进行修复
"eslint.autoFixOnSave"
:
true
,
"editor.fontWeight"
:
"300"
,
"editor.formatOnType"
:
false
,
"workbench.iconTheme"
:
"material-icon-theme"
,
"git.confirmSync"
:
false
,
"team.showWelcomeMessage"
:
false
,
"window.zoomLevel"
:
0
,
//
"editor.renderWhitespace"
:
"boundary"
,
"editor.cursorBlinking"
:
"smooth"
,
"editor.minimap.enabled"
:
true
,
//
"editor.minimap.renderCharacters"
:
false
,
"window.title"
:
"${dirty}${activeEditorMedium}${separator}${rootName}"
,
"editor.codeLens"
:
true
,
//eslint
代码自动检查相关配置
"eslint.enable"
:
true
,
"eslint.run"
:
"onType"
,
"eslint.options"
:
{
"extensions"
:
[
".js"
,
".vue"
]
},
//
添加
vue
支持
"eslint.validate"
:
[
"javascriptreact"
,
"vue"
,
"javascript"
,
{
"language"
:
"vue"
,
"autoFix"
:
true
},
"html"
,
{
"language"
:
"html"
,
"autoFix"
:
true
}
],
//
#让prettier使用eslint的代码格式进行校验
"prettier.eslintIntegration"
:
true
,
//
#去掉代码结尾的分号
"prettier.semi"
:
false
,
//
#使用带引号替代双引号
"prettier.singleQuote"
:
true
,
//
#让函数(名)和后面的括号之间加个空格
"javascript.format.insertSpaceBeforeFunctionParenthesis"
:
true
,
//
#这个按用户自身习惯选择
"vetur.format.defaultFormatter.html"
:
"js-beautify-html"
,
//
#让vue中的js按编辑器自带的ts格式进行格式化
"vetur.format.defaultFormatter.js"
:
"vscode-typescript"
,
"explorer.confirmDelete"
:
false
,
"vetur.format.defaultFormatterOptions"
:
{
"js-beautify-html"
:
{
"wrap_attributes"
:
"force-aligned"
//
#vue组件中html代码格式化样式
}
},
"files.associations"
:
{
"*.cjson"
:
"jsonc"
,
"*.wxss"
:
"css"
,
"*.wxs"
:
"javascript"
},
"emmet.includeLanguages"
:
{
"wxml"
:
"html"
},
"minapp-vscode.disableAutoConfig"
:
true
,
"window.menuBarVisibility"
:
"visible"
,
"git.enableSmartCommit"
:
true
,
"git.autofetch"
:
true
,
"liveServer.settings.donotShowInfoMsg"
:
true
,
"[html]"
:
{
"editor.defaultFormatter"
:
"vscode.html-language-features"
},
"javascript.updateImportsOnFileMove.enabled"
:
"always"
,
"workbench.colorTheme"
:
"SynthWave '84"
,
"editor.fontSize"
:
16
,
"search.followSymlinks"
:
false
,
"workbench.sideBar.location"
:
"left"
,
//
是否开启保存自动格式化
"zenMode.restore"
:
true
,
"breadcrumbs.enabled"
:
true
,
"gitlens.advanced.messages"
:
{
"suppressLineUncommittedWarning"
:
true
},
"javascript.format.placeOpenBraceOnNewLineForControlBlocks"
:
true
,
"editor.formatOnPaste"
:
false
,
"editor.cursorStyle"
:
"line-thin"
,
"editor.codeActionsOnSave"
:
{
"source.fixAll.eslint"
:
true
}
}
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录