-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add the doc on Gateway Signed-off-by: Artem Zatsarynnyi <[email protected]> * Fix the errors reported by antora Signed-off-by: Artem Zatsarynnyi <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Update modules/end-user-guide/pages/idea-ultimate.adoc Co-authored-by: Jana Vrbkova <[email protected]> * Apply suggestions from code review Co-authored-by: Jana Vrbkova <[email protected]> --------- Signed-off-by: Artem Zatsarynnyi <[email protected]> Co-authored-by: Jana Vrbkova <[email protected]>
- Loading branch information
1 parent
39134ac
commit 8def5fc
Showing
9 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[id="idea-ultimate"] | ||
= Connecting JetBrains IntelliJ IDEA Ultimate Edition to a {prod-short} workspace | ||
|
||
{prod} supports connecting your local IntelliJ IDE to a running {prod-short} workspace over JetBrains Gateway. | ||
|
||
.Prerequisites | ||
|
||
. link:https://www.jetbrains.com/remote-development/gateway/[The JetBrains Gateway application] is installed. | ||
|
||
. link:https://plugins.jetbrains.com/plugin/24234-openshift-dev-spaces[The Gateway provider for OpenShift Dev Spaces] is installed. | ||
|
||
. In your local terminal, you are logged in to your OpenShift server with the OpenShift Client. | ||
+ | ||
[NOTE] | ||
==== | ||
The `oc login` command establishes the authenticated session and saves the connection information to the configuration file which is read by the Gateway provider for OpenShift Dev Spaces. | ||
==== | ||
|
||
.Connecting JetBrains IntelliJ IDEA Ultimate Edition to a new workspace | ||
|
||
.Procedure | ||
|
||
. Create a workspace on the {prod-short} Dashboard and choose `IntelliJ IDEA Ultimate (desktop)` editor: | ||
+ | ||
image::editor-idea-iu.png[IntelliJ IDEA Ultimate on Dashboard,link="{imagesdir}/editor-idea-iu.png"] | ||
|
||
. Wait for the prompt to open your local JetBrains Gateway application to appear: | ||
+ | ||
image::open-gateway-prompt.png[Open Gateway prompt,link="{imagesdir}/open-gateway-prompt.png"] | ||
|
||
Click the `Open Gateway` button to start your local JetBrains Client application connected to your Dev Spaces workspace: | ||
|
||
image::gateway-connecting.png[Connecting to remote host,link="{imagesdir}/gateway-connecting.png"] | ||
|
||
.Connecting JetBrains IntelliJ IDEA Ultimate Edition to an existing workspace | ||
|
||
There are two options to connect the local IntelliJ IDE to an existing workspace: | ||
|
||
* from the Che Dashboard | ||
* from the Gateway application | ||
|
||
The simplest way to connect to an existing workspace is to start a workspace from the {prod-short} Dashboard and click the `Open Gateway` button. | ||
However, with the Gateway application, you can connect the IntelliJ IDE to your workspace without accessing the {prod-short} Dashboard. | ||
|
||
.Procedure | ||
|
||
. Open the Gateway app and click `Connect to Dev Spaces`: | ||
+ | ||
image::gateway.png[JetBrains Gateway main window,link="{imagesdir}/gateway.png"] | ||
|
||
. On the next page, provide the parameters to connect to the OpenShift API server and click the `Check Connection and Continue` button: | ||
+ | ||
image::gateway-connect.png[Connecting to OpenShift API server,link="{imagesdir}/gateway-connect.png"] | ||
|
||
. Choose your workspace and click the `Connect` button: | ||
+ | ||
image::gateway-select-ws.png[Connecting to OpenShift API server,link="{imagesdir}/gateway-select-ws.png"] | ||
|
||
.Verification | ||
|
||
. Your local Gateway application is running the JetBrains Client and connects to the workspace. | ||
+ | ||
|
||
image::gateway-connecting.png[Connecting to remote host,link="{imagesdir}/gateway-connecting.png"] |