Skip to content

docs: update examples of IDEs: remove JetBrains Projector and add VS Code Server #8310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 39 additions & 3 deletions docs/ides/web-ides.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ resource "coder_app" "code-server" {
display_name = "code-server"
url = "http://localhost:13337/?folder=/home/coder"
icon = "/icon/code.svg"
subdomain = true

healthcheck {
url = "http://localhost:13337/healthz"
Expand All @@ -98,11 +99,46 @@ resource "coder_app" "code-server" {
}
```

## JetBrains Projector
## Microsoft VS Code Server

Microsoft has a VS Code in a browser IDE as well called [VS Code Server](https://code.visualstudio.com/docs/remote/vscode-server) which can be added to a Coder template.

```hcl
resource "coder_agent" "main" {
arch = "amd64"
os = "linux"
startup_script = <<EOF
#!/bin/sh

# install vs code server
# alternatively install in a container image Dockerfile
wget -O- https://aka.ms/install-vscode-server/setup.sh | sh

# start vs code server
code-server --accept-server-license-terms serve-local --without-connection-token --quality stable --telemetry-level off >/dev/null 2>&1 &

EOF
}
```

[JetBrains Projector](https://jetbrains.github.io/projector-client/mkdocs/latest/) is a JetBrains Incubator project which renders JetBrains IDEs in the web browser. JetBrains has [suspended the project](https://lp.jetbrains.com/projector/) so Coder no longer provides example templates or support.
```hcl
# microsoft vs code server
resource "coder_app" "msft-code-server" {
agent_id = coder_agent.main.id
slug = "msft-code-server"
display_name = "VS Code Server"
icon = "/icon/code.svg"
url = "http://localhost:8000?folder=/home/coder"
subdomain = true
share = "owner"

Use [JetBrains Gateway](./gateway.md) to remotely connect to a Coder workspace.
healthcheck {
url = "http://localhost:8000/healthz"
interval = 5
threshold = 15
}
}
```

## JupyterLab

Expand Down