@@ -17,7 +17,7 @@ IDEs are supported for remote development:
17
17
18
18
JetBrains Gateway is a compact desktop app that allows you to work remotely with
19
19
a JetBrains IDE without even downloading one.
20
- [ See JetBrains' website to learn about and Gateway. ] ( https://www.jetbrains.com/remote-development/gateway/ )
20
+ Visit the [ JetBrains website] ( https://www.jetbrains.com/remote-development/gateway/ ) to learn more about Gateway. ]
21
21
22
22
Gateway can connect to a Coder workspace by using Coder's Gateway plugin or
23
23
manually setting up an SSH connection.
@@ -29,45 +29,56 @@ manually setting up an SSH connection.
29
29
> [ our Discord channel] ( https://discord.gg/coder ) .
30
30
31
31
1 . [ Install Gateway] ( https://www.jetbrains.com/help/idea/jetbrains-gateway.html )
32
- 1 . Open Gateway and click the Coder icon to install the Coder plugin.
33
- 1 . Click the "Coder" icon under Install More Providers at the bottom of the
34
- Gateway home screen
35
- 1 . Click "Connect to Coder" at the top of the Gateway home screen to launch the
36
- plugin
32
+ and open the application.
33
+ 1 . Under ** Install More Providers** , find the Coder icon and click ** Install**
34
+ to install the Coder plugin.
35
+ 1 . After Gateway installs the plugin, it will appear in the ** Run the IDE
36
+ Remotely** section.
37
+
38
+ Click ** Connect to Coder** to launch the plugin:
37
39
38
40
![ Gateway Connect to Coder] ( ../../images/gateway/plugin-connect-to-coder.png )
39
41
40
- 1 . Enter your Coder deployment's Access Url and click "Connect" then paste the
41
- Session Token and click "OK"
42
+ 1 . Enter your Coder deployment's
43
+ [ Access Url] ( ../../admin/configure.md#access-url ) and click ** Connect** .
44
+
45
+ Gateway opens your Coder deployment's ` cli-auth ` page with a session token.
46
+ Click the copy button, paste the session token in the Gateway ** Session
47
+ Token** window, then click ** OK** :
42
48
43
49
![ Gateway Session Token] ( ../../images/gateway/plugin-session-token.png )
44
50
45
- 1 . Click the "+" icon to open a browser and go to the templates page in your
46
- Coder deployment to create a workspace
51
+ 1 . To create a new workspace:
47
52
48
- 1 . If a workspace already exists but is stopped, click the green arrow to start
49
- the workspace
53
+ Click the < kbd >+</ kbd > icon to open a browser and go to the templates page in
54
+ your Coder deployment to create a workspace.
50
55
51
- 1 . Once the workspace status says Running, click "Select IDE and Project"
56
+ 1 . If a workspace already exists but is stopped, select the workspace from the
57
+ list, then click the green arrow to start the workspace.
58
+
59
+ 1 . When the workspace status is ** Running** , click ** Select IDE and Project** :
52
60
53
61
![ Gateway IDE List] ( ../../images/gateway/plugin-select-ide.png )
54
62
55
63
1 . Select the JetBrains IDE for your project and the project directory then
56
- click "Start IDE and connect"
64
+ click ** Start IDE and connect** :
65
+
57
66
![ Gateway Select IDE] ( ../../images/gateway/plugin-ide-list.png )
58
67
68
+ Gateway connects using the IDE you selected:
69
+
59
70
![ Gateway IDE Opened] ( ../../images/gateway/gateway-intellij-opened.png )
60
71
61
- > Note the JetBrains IDE is remotely installed into
62
- > ` ~/.cache/JetBrains/RemoteDev/dist `
72
+ > Note the JetBrains IDE is remotely installed into
73
+ > ` ~/.cache/JetBrains/RemoteDev/dist `
63
74
64
75
### Update a Coder plugin version
65
76
66
77
1 . Click the gear icon at the bottom left of the Gateway home screen and then
67
78
"Settings"
68
79
69
- 1 . In the Marketplace tab within Plugins, type Coder and if a newer plugin
70
- release is available, click " Update" and "OK"
80
+ 1 . In the ** Marketplace** tab within Plugins, enter Coder and if a newer plugin
81
+ release is available, click ** Update** then ** OK ** :
71
82
72
83
![ Gateway Settings and Marketplace] ( ../../images/gateway/plugin-settings-marketplace.png )
73
84
@@ -125,59 +136,60 @@ keytool -import -alias coder -file cacert.pem -keystore /Applications/JetBrains\
125
136
> This is in lieu of using Coder's Gateway plugin which automatically performs
126
137
> these steps.
127
138
128
- 1 . [ Install Gateway] ( https://www.jetbrains.com/help/idea/jetbrains-gateway.html )
139
+ 1 . [ Install Gateway] ( https://www.jetbrains.com/help/idea/jetbrains-gateway.html ) .
129
140
130
- 1 . [ Configure the ` coder ` CLI] ( ../ides.md#ssh-configuration )
141
+ 1 . [ Configure the ` coder ` CLI] ( ../ides.md#ssh-configuration ) .
131
142
132
- 1 . Open Gateway, make sure " SSH" is selected under " Remote Development"
143
+ 1 . Open Gateway, make sure ** SSH** is selected under ** Remote Development** .
133
144
134
- 1 . Click " New Connection"
145
+ 1 . Click ** New Connection** :
135
146
136
- ![ Gateway Home] ( ../images/gateway/gateway-home.png )
147
+ ![ Gateway Home] ( ../../ images/gateway/gateway-home.png )
137
148
138
- 1 . In the resulting dialog, click the gear icon to the right of " Connection:"
149
+ 1 . In the resulting dialog, click the gear icon to the right of ** Connection** :
139
150
140
- ![ Gateway New Connection] ( ../images/gateway/gateway-new-connection.png )
151
+ ![ Gateway New Connection] ( ../../ images/gateway/gateway-new-connection.png )
141
152
142
- 1 . Hit the "+" button to add a new SSH connection
153
+ 1 . Click < kbd >+</ kbd > to add a new SSH connection:
143
154
144
- ![ Gateway Add Connection] ( ../images/gateway/gateway-add-ssh-configuration.png )
155
+ ![ Gateway Add Connection] ( ../../ images/gateway/gateway-add-ssh-configuration.png )
145
156
146
157
1 . For the Host, enter ` coder.<workspace name> `
147
158
148
159
1 . For the Port, enter ` 22 ` (this is ignored by Coder)
149
160
150
- 1 . For the Username, enter your workspace username
161
+ 1 . For the Username, enter your workspace username.
151
162
152
- 1 . For the Authentication Type, select "OpenSSH config and authentication agent"
163
+ 1 . For the Authentication Type, select ** OpenSSH config and authentication
164
+ agent** .
153
165
154
- 1 . Make sure the checkbox for " Parse config file ~ /.ssh/config" is checked.
166
+ 1 . Make sure the checkbox for ** Parse config file ~ /.ssh/config** is checked.
155
167
156
- 1 . Click " Test Connection" to validate these settings.
168
+ 1 . Click ** Test Connection** to validate these settings.
157
169
158
- 1 . Click "OK"
170
+ 1 . Click ** OK ** :
159
171
160
- ![ Gateway SSH Configuration] ( ../images/gateway/gateway-create-ssh-configuration.png )
172
+ ![ Gateway SSH Configuration] ( ../../ images/gateway/gateway-create-ssh-configuration.png )
161
173
162
- 1 . Select the connection you just added
174
+ 1 . Select the connection you just added:
163
175
164
- ![ Gateway Welcome] ( ../images/gateway/gateway-welcome.png )
176
+ ![ Gateway Welcome] ( ../../ images/gateway/gateway-welcome.png )
165
177
166
- 1 . Click " Check Connection and Continue"
178
+ 1 . Click ** Check Connection and Continue** :
167
179
168
- ![ Gateway Continue] ( ../images/gateway/gateway-continue.png )
180
+ ![ Gateway Continue] ( ../../ images/gateway/gateway-continue.png )
169
181
170
182
1 . Select the JetBrains IDE for your project and the project directory. SSH into
171
183
your server to create a directory or check out code if you haven't already.
172
184
173
- ![ Gateway Choose IDE] ( ../images/gateway/gateway-choose-ide.png )
185
+ ![ Gateway Choose IDE] ( ../../ images/gateway/gateway-choose-ide.png )
174
186
175
187
> Note the JetBrains IDE is remotely installed into
176
188
> ` ~/. cache/JetBrains/RemoteDev/dist `
177
189
178
- 1 . Click " Download and Start IDE" to connect.
190
+ 1 . Click ** Download and Start IDE** to connect.
179
191
180
- ![ Gateway IDE Opened] ( ../images/gateway/gateway-intellij-opened.png )
192
+ ![ Gateway IDE Opened] ( ../../ images/gateway/gateway-intellij-opened.png )
181
193
182
194
## Using an existing JetBrains installation in the workspace
183
195
@@ -335,7 +347,7 @@ HKEY_LOCAL_MACHINE registry
335
347
Additionally, create a string for each setting with its appropriate value in
336
348
` SOFTWARE\JetBrains\RemoteDev ` :
337
349
338
- ![ Alt text] ( ../images/gateway/JetBrains -offline-windows.png )
350
+ ![ Alt text] ( ../../ images/gateway/jetbrains -offline-windows.png )
339
351
340
352
### 5. Setup SSH connection with JetBrains Gateway
341
353
@@ -348,7 +360,7 @@ Instead of downloading from jetbrains.com, we will point Gateway to our server
348
360
endpoint. Select ` Installation options... ` and select ` Use download link ` . Note
349
361
that the URL must explicitly reference the archive file:
350
362
351
- ![ Offline Gateway] ( ../images/gateway/offline-gateway.png )
363
+ ![ Offline Gateway] ( ../../ images/gateway/offline-gateway.png )
352
364
353
365
Click ` Download IDE and Connect ` . Gateway should now download the backend and
354
366
clients from the server into your remote workspace and local machine,
0 commit comments