Skip to content

Commit 65112ec

Browse files
sharkymarkbpmct
andauthored
docs: update examples of IDEs: remove JetBrains Projector and add VS Code Server (#8310)
* docs: remove mention of jetbrains projector; add vs code server web IDE example * fmt --------- Co-authored-by: Ben <me@bpmct.net>
1 parent 647fd76 commit 65112ec

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

docs/ides/web-ides.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ resource "coder_app" "code-server" {
8888
display_name = "code-server"
8989
url = "http://localhost:13337/?folder=/home/coder"
9090
icon = "/icon/code.svg"
91+
subdomain = true
9192
9293
healthcheck {
9394
url = "http://localhost:13337/healthz"
@@ -98,11 +99,46 @@ resource "coder_app" "code-server" {
9899
}
99100
```
100101

101-
## JetBrains Projector
102+
## Microsoft VS Code Server
103+
104+
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.
105+
106+
```hcl
107+
resource "coder_agent" "main" {
108+
arch = "amd64"
109+
os = "linux"
110+
startup_script = <<EOF
111+
#!/bin/sh
112+
113+
# install vs code server
114+
# alternatively install in a container image Dockerfile
115+
wget -O- https://aka.ms/install-vscode-server/setup.sh | sh
116+
117+
# start vs code server
118+
code-server --accept-server-license-terms serve-local --without-connection-token --quality stable --telemetry-level off >/dev/null 2>&1 &
119+
120+
EOF
121+
}
122+
```
102123

103-
[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.
124+
```hcl
125+
# microsoft vs code server
126+
resource "coder_app" "msft-code-server" {
127+
agent_id = coder_agent.main.id
128+
slug = "msft-code-server"
129+
display_name = "VS Code Server"
130+
icon = "/icon/code.svg"
131+
url = "http://localhost:8000?folder=/home/coder"
132+
subdomain = true
133+
share = "owner"
104134
105-
Use [JetBrains Gateway](./gateway.md) to remotely connect to a Coder workspace.
135+
healthcheck {
136+
url = "http://localhost:8000/healthz"
137+
interval = 5
138+
threshold = 15
139+
}
140+
}
141+
```
106142

107143
## JupyterLab
108144

0 commit comments

Comments
 (0)