From b69c09f0c1688b78cb7d5a52d079c92fdf5b0a0a Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 5 Aug 2022 07:08:59 +0000 Subject: [PATCH] configuration of devcontainer is changed --- .devcontainer/devcontainer.json | 41 ++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7191053..bcc20a3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,20 +11,33 @@ "VARIANT": "16-bullseye" } }, - - // Set *default* container specific settings.json values on container create. - "settings": {}, - - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "dbaeumer.vscode-eslint", - "esbenp.prettier-vscode", - "angular.ng-template", - "donjayamanne.githistory", - "eamodio.gitlens", - "mhutchie.git-graph" - ], - + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Set *default* container specific settings.json values on container create. + "settings": { + // VS Code don't watch files under ./target + "files.watcherExclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "**/node_modules/*/**": true + }, + "editor.tabSize": 2, + "editor.insertSpaces": true, + "editor.formatOnSave": true + }, + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "angular.ng-template", + "donjayamanne.githistory", + "eamodio.gitlens", + "mhutchie.git-graph" + ] + } + }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], "portsAttributes": {