diff --git a/.gitignore b/.gitignore index 2679f3140c058..61b0358a67bf6 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,7 @@ _START_PACKAGE .env .vscode/* !.vscode/extensions.json -!.vscode/suggested.settings.json +!.vscode/settings.default.json .idea nodelinter.config.json packages/*/package-lock.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 98ca38d3566f5..0b0bf5334037b 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,5 +1,6 @@ { "recommendations": [ + "dangmai.workspace-default-settings", "dbaeumer.vscode-eslint", "EditorConfig.EditorConfig", "esbenp.prettier-vscode", diff --git a/.vscode/settings.default.json b/.vscode/settings.default.json new file mode 100644 index 0000000000000..93edb3b1231f6 --- /dev/null +++ b/.vscode/settings.default.json @@ -0,0 +1,11 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "search.exclude": { + "node_modules": true, + "dist": true, + "package-lock.json": true + }, + "typescript.tsdk": "node_modules/typescript/lib", + "workspace-default-settings.runOnActivation": true +} diff --git a/.vscode/suggested.settings.json b/.vscode/suggested.settings.json deleted file mode 100644 index c9c52ed258ae7..0000000000000 --- a/.vscode/suggested.settings.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "[html]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[markdown]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[scss]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[typescript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[vue]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "editor.formatOnSave": true, - "search.exclude": { - "node_modules": true, - "dist": true, - "package-lock.json": true - } -}