添加 VS Code 扩展和设置
This commit is contained in:
20
main.tf
20
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user