"go.lintOnSave": "off", //去恶心的黄线!
"go.useLanguageServer": true, //打开这个更智能!
"[go]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.organizeImports": false,
},
},
}
说实话,这个真的很难找啊。 先是这个页面的tool;
再是这个页面的format ;
接着是这个页面的Format and organize imports下的troubleshooting;
百度+谷歌+bing 终于....
对你有帮助请点赞!