From ee4460ac686511b21a235cd6e9f3d29e3588e1d8 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 19 Jul 2023 00:20:11 +0200 Subject: [PATCH] build: correct codespaces devcontainer extensions settings (#39123) --- .devcontainer/devcontainer.json | 63 +++++++++++++++++---------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 605c3eaf9af3..3743ea60ae06 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,37 +4,6 @@ "onCreateCommand": ".devcontainer/on-create-command.sh", "updateContentCommand": ".devcontainer/update-content-command.sh", "workspaceFolder": "/workspaces/gclient/src/electron", - "extensions": [ - "joeleinbinder.mojom-language", - "rafaelmaiolla.diff", - "surajbarkale.ninja", - "ms-vscode.cpptools", - "mutantdino.resourcemonitor", - "dbaeumer.vscode-eslint", - "shakram02.bash-beautify", - "marshallofsound.gnls-electron", - "CircleCI.circleci" - ], - "settings": { - "editor.tabSize": 2, - "bashBeautify.tabSize": 2, - "typescript.tsdk": "node_modules/typescript/lib", - "[gn]": { - "editor.formatOnSave": true - }, - "[javascript]": { - "editor.codeActionsOnSave": { - "source.fixAll.eslint": true - } - }, - "[typescript]": { - "editor.codeActionsOnSave": { - "source.fixAll.eslint": true - } - }, - "javascript.preferences.quoteStyle": "single", - "typescript.preferences.quoteStyle": "single" - }, "forwardPorts": [8088, 6080, 5901], "portsAttributes": { "8088": { @@ -60,6 +29,38 @@ "openFiles": [ ".devcontainer/README.md" ] + }, + "vscode": { + "extensions": ["joeleinbinder.mojom-language", + "rafaelmaiolla.diff", + "surajbarkale.ninja", + "ms-vscode.cpptools", + "mutantdino.resourcemonitor", + "dbaeumer.vscode-eslint", + "shakram02.bash-beautify", + "marshallofsound.gnls-electron", + "CircleCI.circleci" + ], + "settings": { + "editor.tabSize": 2, + "bashBeautify.tabSize": 2, + "typescript.tsdk": "node_modules/typescript/lib", + "[gn]": { + "editor.formatOnSave": true + }, + "[javascript]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + } + }, + "[typescript]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + } + }, + "javascript.preferences.quoteStyle": "single", + "typescript.preferences.quoteStyle": "single" + } } } } \ No newline at end of file