vscode golang vue配置
2024-08-28 08:54:18
{
"files.autoSave": "off",
"window.title": "${dirty}${activeEditorLong}${separator}${rootName}${separator}${appName}",
"go.languageServerExperimentalFeatures": {
"diagnostics": true // for build and vet errors as you type
},
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"gopls": {
"usePlaceholders": true // add parameter placeholders when completing a function
},
"files.eol": "\n",
"workbench.editor.enablePreview": false,
"editor.fontSize": 16, // formatting only supports LF line endings
//配置eslint
"eslint.autoFixOnSave": true,
"files.autoSave": "off",
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "vue",
"autoFix": true
}
],
// 改为你的文件路径
"eslint.options": {
"configFile": "./.eslintrc.js"
},
//为了符合eslint的两个空格间隔原则
"editor.tabSize": 2,
"editor.quickSuggestions": {
"strings": true
}
}
最新文章
- ASP.NET Core 中文文档 第四章 MVC(4.6)Areas(区域)
- Spring-test使用JUnit时,测试类autowired报错,create bean error
- cvInRangeS函数演示
- [转]从JVM角度看线程安全与垃圾收集
- XML CDATA节点
- 集合类 Contains 方法 深入详解 与接口的实例
- MySQL数据库错误server_errno=2013的解决
- shell 加法
- onMouseDown onMouseUp onMouseMove(移动鼠标图像大小变化)
- 插入排序(Insertion Sort)
- sql 练习(1)
- python list有关remove的问题
- Spring 3.x 读书笔记
- Kindeditor JS 取值问题以及上传图片后回调等
- C# 对文本文件的几种读写方法总结
- Python练习一
- K8S、云计算、大数据、编程语言
- prometheus杂碎
- QWidget窗口类
- 配置内网DNS实现内部域名解析