You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
833 B
Markdown
34 lines
833 B
Markdown
---
|
|
name: code-server
|
|
description: Install and run VS Code in the web browser
|
|
tags: [ide, vscode, os-linux, os-macos]
|
|
icon: /icon/code.svg
|
|
---
|
|
|
|
# code-server Module
|
|
|
|
Install and run VS Code in the web browser
|
|
|
|
)
|
|
|
|
## Requirements
|
|
|
|
- Linux or macOS template
|
|
|
|
## Usage instructions
|
|
|
|
Add the following block to your [Coder template](https://coder.com/docs/v2/latest/templates):
|
|
|
|
```hcl
|
|
module "code-server" {
|
|
source = "github.com/coder/coder//code-server"
|
|
agent = coder_agent.main.id # your agent ID
|
|
|
|
# Optional variables
|
|
extensions = ["GitHub.vscode-codeql", "esbenp.prettier-vscode"]
|
|
settings = {
|
|
"editor.minimap.side": "left",
|
|
"workbench.colorTheme": "Default Dark Modern",
|
|
}
|
|
}
|
|
``` |