VSCode 2017安装插件后,保存代码取消自动格式化代码;

Preferences --> Setting 搜索format后把全部重新勾选,保存,然后取消勾选;保存
然后会出现最下面三行代码;

{
“workbench.colorTheme”: “Visual Studio Dark”,
“editor.autoClosingBrackets”: “always”,
“java.home”: “/usr/lib/jvm/java-8-openjdk-amd64”,
“editor.formatOnType”: false,
“editor.codeActionsOnSave”: {
“editor.formatOnType”: false,
“editor.formatOnSave”: false,
},
“java.format.comments.enabled”: false,
“java.format.enabled”: false,
“java.format.onType.enabled”: false
}

你可能感兴趣的:(VSCode)