From 4fdfca98c6f993ff1c501736220b9a404939b859 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Thu, 16 May 2019 17:35:08 +0200 Subject: [PATCH] ref: vscode settings theme, vetur and vue default formatter --- vscode-settings.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/vscode-settings.json b/vscode-settings.json index 2929a04..b306bc3 100644 --- a/vscode-settings.json +++ b/vscode-settings.json @@ -1,6 +1,6 @@ { "window.zoomLevel": 0, - "workbench.colorTheme": "Monokai Dimmed", + "workbench.colorTheme": "Material Theme Darker High Contrast", "python.jediEnabled": false, "editor.trimAutoWhitespace": false, "editor.tabSize": 2, @@ -12,7 +12,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[vue]": { - "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.defaultFormatter": "octref.vetur", }, "prettier.trailingComma": "all", "typescript.preferences.quoteStyle": "single", @@ -31,6 +31,7 @@ "editor.multiCursorModifier": "ctrlCmd", "prettier.arrowParens": "always", "workbench.statusBar.feedback.visible": false, + "vetur.format.enable": true, "vetur.format.defaultFormatter.html": "prettyhtml", "vetur.format.defaultFormatter.css": "prettier", "vetur.format.defaultFormatter.postcss": "prettier", @@ -38,5 +39,10 @@ "vetur.format.defaultFormatter.less": "prettier", "vetur.format.defaultFormatter.stylus": "stylus-supremacy", "vetur.format.defaultFormatter.js": "prettier", - "vetur.format.defaultFormatter.ts": "prettier" + "vetur.format.defaultFormatter.ts": "prettier", + "vetur.format.options.tabSize": 2, + "vetur.format.options.useTabs": false, + "eslint.enable": true, + "eslint.run": "onType", + "files.autoSave": "onWindowChange" }