coder/docs/ides.md

85 lines
2.8 KiB
Markdown
Raw Normal View History

2022-06-16 16:22:14 +00:00
# IDEs
The following desktop IDEs have been tested with Coder, though any IDE with SSH
support should work:
- [VS Code Remote SSH](#vs-code-remote)
- [JetBrains with Gateway](./ides/configuring-gateway.md)
2022-06-16 16:22:14 +00:00
- IntelliJ IDEA
- CLion
- GoLand
- PyCharm
- Rider
- RubyMine
- WebStorm
- Web IDEs (code-server, JupyterLab, JetBrains Projector)
- Note: These are [configured in the template](./ides/configuring-web-ides.md)
2022-08-01 21:47:22 +00:00
- [Emacs](./ides/configuring-emacs-tramp.md)
2022-06-16 16:22:14 +00:00
## SSH configuration
> Before proceeding, run `coder login <accessURL>` if you haven't already to
> authenticate the CLI with the web UI and your workspaces.
To access Coder via SSH, run the following in the terminal:
```console
coder config-ssh
```
> Run `coder config-ssh --dry-run` if you'd like to see the changes that will be
2022-06-16 16:22:14 +00:00
> made before proceeding.
Confirm that you want to continue by typing **yes** and pressing enter. If
successful, you'll see the following message:
```console
You should now be able to ssh into your workspace.
For example, try running:
$ ssh coder.<workspaceName>
```
Your workspace is now accessible via `ssh coder.<workspace_name>` (e.g.,
`ssh coder.myEnv` if your workspace is named `myEnv`).
## VS Code Remote
Once you've configured SSH, you can work on projects from your local copy of VS
Code, connected to your Coder workspace for compute, etc.
1. Open VS Code locally.
1. Install the [Remote -
SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh)
2022-06-16 16:22:14 +00:00
extension.
1. In VS Code's left-hand nav bar, click **Remote Explorer** and right-click on
a workspace to connect.
## JetBrains Gateway
Gateway operates in a client-server model, using an SSH connection to the remote
host to install and start the server.
Setting up Gateway also involves picking a project directory, so if you have not
already done so, you may wish to open a terminal on your Coder workspace and
check out a copy of the project you intend to work on.
After installing Gateway on your local system, [follow these steps to create a
Connection and connect to your Coder workspace.](./ides/configuring-gateway.md)
| Version | Status | Notes |
| --------- | ------- | -------------------------------------------------------- |
| 2021.3.2 | Working | |
| 2022.1.4 | Working | Windows clients are unable to connect to Linux workspace |
| 2022.2 RC | Working | Version >= 222.3345.108 |
## Web IDEs (Jupyter, code-server, JetBrains Projector)
2022-06-16 16:22:14 +00:00
Web IDEs (code-server, JetBrains Projector, VNC, etc.) are defined in the template. See [configuring IDEs](./ides/configuring-web-ides.md).
## Up next
- Learn about [Port Forwarding](./port-forwarding.md)