From 331cb4197da120d0a8c44afb4ba965cc2da9adea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B5=A9?= <3116737282@qq.com> Date: Thu, 1 May 2025 10:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20VS=20Code=20=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E5=92=8C=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.tf | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 9038082..b2806b9 100644 --- a/main.tf +++ b/main.tf @@ -164,8 +164,26 @@ module "code-server" { # This ensures that the latest version of the module gets downloaded, you can also pin the module version to prevent breaking changes in production. version = ">= 1.0.0" - agent_id = coder_agent.main.id + extensions = [ + "redhat.vscode-yaml", + "MS-CEINTL.vscode-language-pack-zh-hans", + "mhutchie.git-graph" + ] + settings = { + "workbench.colorTheme": "Default Dark Modern", + "git.autofetch": true, + "workbench.startupEditor": "none", + "chat.commandCenter.enabled": false, + "editor.fontSize": 16, + "redhat.telemetry.enabled": true, + "editor.cursorStyle": "block", + "editor.cursorBlinking": "smooth", + "workbench.activityBar.location": "top", + "diffEditor.hideUnchangedRegions.enabled": true, + "diffEditor.experimental.showMoves": true, + "diffEditor.renderSideBySide": true + } order = 1 }