我的 Visual Studio Code 設定
settings.json { "editor.tabSize": 2, "editor.wordWrap": "on", "editor.formatOnSave": true, "editor.formatOnPaste": true, "workbench.settings.openDefaultSettings": true, "javascript.validate.enable": false, //for Extension "StandardJS - JavaScript Standard Style" "javascript.format.insertSpaceBeforeFunctionParenthesis": true, // 宣告函式時,函式名稱和 () 之間有一格空格 "editor.detectIndentation": false, // 儲存檔案時,讓 autoformat 縮排是兩格 "diffEditor.ignoreTrimWhitespace": false, // 儲存檔案時,讓 autoformat 縮排是兩格 "emmet.includeLanguages": { "javascript": "html", }, "vetur.format.defaultFormatter.html": "js-beautify-html", // format .vue html "vetur.format.defaultFormatter.js": "vscode-typescript", // Let the js in vue formatted according...