添加 VS Code 扩展和设置

This commit is contained in:
2025-05-01 10:31:15 +08:00
parent e76d426a38
commit 331cb4197d

20
main.tf
View File

@@ -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. # 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" version = ">= 1.0.0"
agent_id = coder_agent.main.id 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 order = 1
} }