Merge branch 'main' of github.com:coder/coder into main

This commit is contained in:
Ben Potter
2022-07-30 22:31:08 +00:00
11 changed files with 77 additions and 34 deletions
+14 -33
View File
@@ -3,11 +3,9 @@
The following desktop IDEs have been tested with Coder, though any IDE with SSH
support should work:
- VS Code (with [Remote -
SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh)
- [VS Code Remote SSH](#vs-code-remote)
extension)
- JetBrains (with
[Gateway](https://www.jetbrains.com/help/idea/remote-development-a.html#launch_gateway)
- [JetBrains with Gateway](./ides/configuring-gateway.md)
installed)
- IntelliJ IDEA
- CLion
@@ -17,7 +15,7 @@ support should work:
- RubyMine
- WebStorm
- Web IDEs (code-server, JupyterLab, Jetbrains Projector)
- Note: These are [configured in the template](./ides/configuring-web-ides.md)
- Note: These are [configured in the template](./ides/configuring-web-ides.md)
## SSH configuration
@@ -53,7 +51,8 @@ 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)
1. Install the [Remote -
SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh)
extension.
1. In VS Code's left-hand nav bar, click **Remote Explorer** and right-click on
@@ -61,40 +60,22 @@ Code, connected to your Coder workspace for compute, etc.
## JetBrains Gateway
Gateway operates in a client-server model, using an SSH connection to the remote host to install
and start the server.
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.
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, you may connect to a Coder workspace as follows
1. Open Gateway, make sure "SSH" is selected under "Remote Development"
2. Click "New Connection"
3. In the resulting dialog, click the gear icon to the right of "Connection:"
4. Hit the "+" button to add a new SSH connection
1. For the Host, enter `coder.<workspace name>`
2. For the Port, enter `22` (this is ignored by Coder)
3. For the Username, enter `coder`
4. For the Authentication Type, select "OpenSSH config and authentication agent"
5. Make sure the checkbox for "Parse config file ~/.ssh/config" is checked.
6. Click "Test Connection" to ensure you setting are ok.
7. Click "OK"
5. Select the connection you just added.
6. Click "Check Connection and Continue"
7. Select the JetBrains IDE for your project and the project directory
1. Use an SSH terminal to your workspace to create a directory or check out code if you haven't
already.
8. Click "Download and Start IDE" to connect.
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.1 | Working | Windows clients are unable to connect to Linux workspace |
| 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)
Web IDEs (code-server, JetBrains Projector, VNC, etc.) are defined in the template. See [configuring IDEs](./ides/configuring-web-ides.md).
+57
View File
@@ -0,0 +1,57 @@
# Configuring JetBrains Gateway
The following screenshots outline in more detail how to create a new Connection
for JetBrains Gateway to a Coder workspace.
## Creating a new JetBrains Gateway Connection
After installing Gateway on your local system, you may connect to a Coder
workspace as follows
1. Open Gateway, make sure "SSH" is selected under "Remote Development"
2. Click "New Connection"
![Gateway Home](../images/gateway/gateway-home.png)
3. In the resulting dialog, click the gear icon to the right of "Connection:"
![Gateway New Connection](../images/gateway/gateway-new-connection.png)
4. Hit the "+" button to add a new SSH connection
![Gateway Add Connection](../images/gateway/gateway-add-ssh-configuration.png)
1. For the Host, enter `coder.<workspace name>`
2. For the Port, enter `22` (this is ignored by Coder)
3. For the Username, enter `coder`
4. For the Authentication Type, select "OpenSSH config and authentication
agent"
5. Make sure the checkbox for "Parse config file ~/.ssh/config" is checked.
6. Click "Test Connection" to ensure you setting are ok.
7. Click "OK"
![Gateway SSH
Configuration](../images/gateway/gateway-create-ssh-configuration.png)
5. Select the connection you just added.
![Gateway Welcome](../images/gateway/gateway-welcome.png)
6. Click "Check Connection and Continue"
![Gateway Continue](../images/gateway/gateway-continue.png)
7. Select the JetBrains IDE for your project and the project directory
1. Use an SSH terminal to your workspace to create a directory or check out
code if you haven't already.
> Note the JetBrains IDE is installed in the directory `~/.
> cache/JetBrains/RemoteDev/dist`
![Gateway Choose IDE](../images/gateway/gateway-choose-ide.png)
8. Click "Download and Start IDE" to connect.
![Gateway IDE Opened](../images/gateway/gateway-intellij-opened.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

+6 -1
View File
@@ -29,7 +29,7 @@
"title": "GitHub OAuth",
"description": "Learn how to set up OAuth using your GitHub organization.",
"path": "./install/oauth.md"
}
}
]
},
{
@@ -81,6 +81,11 @@
"title": "Configuring Web IDEs",
"description": "Learn how to configure web IDEs in your templates",
"path": "./ides/configuring-web-ides.md"
},
{
"title": "Configuring Jetbrains Gateway",
"description": "Learn how to configure Jetbrains Gateway for your workspaces",
"path": "./ides/configuring-gateway.md"
}
]
},