From a6c580768d105e9d070d460f52580ff7c7fe6abd Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 9 May 2023 07:01:13 +0200 Subject: [PATCH] Improve devcontainer --- .devcontainer/devcontainer.json | 70 ++++++++++++++++++--------------- 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 032a785e..efdbe394 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,35 +1,41 @@ /* cSpell:disable */ { - "name": "frequi", - "build": { - "dockerfile": "Dockerfile" - }, - "forwardPorts": [ - 3000 - ], - "mounts": [ - "source=frequi-bashhistory,target=/home/node/commandhistory,type=volume" - ], - "remoteUser": "node", - "settings": { - // "editor.formatOnSave": true, - "editor.codeActionsOnSave": { - "source.fixAll.eslint": true - }, - "emmet.includeLanguages": { - "vue": "html", - "vue-html": "html" - }, - "workbench.iconTheme": "vscode-icons", - }, - "extensions": [ - "vue.volar", - "dbaeumer.vscode-eslint", - "yzhang.markdown-all-in-one", - "marquesmps.dockerfile-validator", - "streetsidesoftware.code-spell-checker", - "vscode-icons-team.vscode-icons", - "hediet.vscode-drawio", - ], - "postCreateCommand": "yarn install", + "name": "frequi", + "build": { + "dockerfile": "Dockerfile" + }, + "forwardPorts": [ + 3000 + ], + "mounts": [ + "source=frequi-bashhistory,target=/home/node/commandhistory,type=volume" + ], + "remoteUser": "node", + "customizations": { + "vscode": { + "settings": { + // "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "emmet.includeLanguages": { + "vue": "html", + "vue-html": "html" + }, + "workbench.iconTheme": "vscode-icons" + }, + "extensions": [ + "vue.volar", + "dbaeumer.vscode-eslint", + "yzhang.markdown-all-in-one", + "marquesmps.dockerfile-validator", + "streetsidesoftware.code-spell-checker", + "vscode-icons-team.vscode-icons", + "hediet.vscode-drawio", + "ZixuanChen.vitest-explorer", + "antfu.iconify" + ] + } + }, + "postCreateCommand": "yarn install", }