VS code
程序员文章站
2022-03-09 19:12:26
...
用户设置:
{
"sublimeTextKeymap.promptV3Features": true,
"vim.useCtrlKeys": false,
"files.autoSave": "afterDelay",
"editor.wordWrap": "on",
"editor.tabCompletion": "on",
"workbench.editor.highlightModifiedTabs": true,
"editor.formatOnType": true,
//粘贴自动格式化
"editor.formatOnPaste": false,
//保存自动格式化
"editor.formatOnSave": false,
//go 相关
"go.buildOnSave": "workspace",
"go.lintOnSave": "package",
"go.vetOnSave": "package",
"go.buildFlags": [],
"go.lintFlags": [],
"go.vetFlags": [],
"go.coverOnSave": false,
"go.useCodeSnippetsOnFunctionSuggest": false,
"go.formatTool": "goreturns",
"go.goroot": "D:/Go",
"go.gopath": "D:/Go_WorkSpace",
"go.gocodeAutoBuild": false,
"explorer.confirmDelete": false,
// 主题
"workbench.iconTheme": "vscode-icons",
// 小地图
"editor.minimap.enabled": true,
// 主题风格One Dark Pro
"workbench.colorTheme": "One Dark Pro",
"window.zoomLevel": 1,
"extensions.autoUpdate": false,
// 字体大小
"editor.fontSize": 13,
"editor.snippetSuggestions": "top",
"diffEditor.ignoreTrimWhitespace": true,
// 设置格式化缩进4格
"prettier.tabWidth": 4,
"vetur.format.defaultFormatter.html": "prettyhtml",
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"gitlens.historyExplorer.enabled": true,
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
// 用来忽略工程打开的文件夹
"files.exclude": {
"**/.vscode": true,
"**/.DS_Store": true,
"**/.history": true,
"**/nbproject": true
},
// 用来忽略搜索的文件夹
// "search.exclude": {
// "**/node_modules/**": true,
// "**/bower_components/**": true,
// "**/image/**": true,
// "**/*.xml": true,
// "**/.history/**": true,
// "**/nbproject/**": true,
// "**/vscode/**": true
// },
// 创建和更新代码的头部信息作者
"fileheader.Author": "ccy",
"fileheader.LastModifiedBy": "ccy",
}
上一篇: [Golang] VS Code 编辑器代码提示不生效
下一篇: VS Code
推荐阅读