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.
1.7 KiB
1.7 KiB
display_name | description | icon | maintainer_github | verified | tags | ||
---|---|---|---|---|---|---|---|
code-server | VS Code in the browser | ../.icons/code.svg | coder | true |
|
code-server
Automatically install code-server in a workspace, create an app to access it via the dashboard, install extensions, and pre-configure editor settings.
Highlights
- Code on any device with a consistent development environment
- Use cloud servers to speed up tests, compilations, downloads, and more
- Preserve battery life when you're on the go; all intensive tasks run on your server
Examples
Pre-install Extensions
Install the Dracula theme from OpenVSX:
module "code-server" {
source = "https://registry.coder.com/modules/code-server"
extensions = [
"dracula-theme.theme-dracula"
]
}
Enter the <author>.<name>
into the extensions array and code-server will automatically install on start.
Pre-configure Settings
Configure VS Code's settings.json file:
module "settings" {
source = "https://registry.coder.com/modules/code-server"
extensions = [ "dracula-theme.theme-dracula" ]
settings = {
"workbench.colorTheme" = "Dracula"
}
}
Offline Mode
Just run code-server in the background, don't fetch it from GitHub:
module "settings" {
source = "https://registry.coder.com/modules/code-server"
offline = true
}