Path: blob/main/components/ide/jetbrains/gateway-plugin/README.md
2499 views
Gitpod Gateway
Provides a way to connect to Gitpod workspaces.
This plugin is based on the IntelliJ Platform Plugin Template.
Development
This project is not Gitpodified yet because it requires running the JetBrains Gateway locally. For now, for development, contributors can use IntelliJ IDEA installed on their machines.
Testing
For testing purposes, it's possible to build the plugin and launch a JetBrains Gateway instance which comes with the dev build of the plugin pre-installed.
Run:
If you want to open a real workspace in the dev build, follow these steps:
Start a workspace
Open the terminal and run
Copy the output value
Go to your local terminal and run:
For executing the tests and the static analysis validations, run:
Note: Gradle should run with Java 11.
How to test from a Pull Request
Ensure you have the latest JetBrains Gateway installed: https://www.jetbrains.com/remote-development/gateway/
Download this Gateway Plugin build, from Gitpod's Plugin Dev Channel: https://plugins.jetbrains.com/plugin/18438-gitpod-gateway/versions/dev
Install it on the Gateway following these instructions: https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_disk
Do the checks requested by the pull request creator or do a full manual test as instructed below.
Checklist for a Full Manual Test
Check if you can create a new workspace
Check if you can connect to a running workspace
Check if you can connect to a stopped workspace
Check if changing the "Gitpod Host" in Preferences >> Tools >> Gitpod takes effect
Check if the info displayed in the workspaces list is matching what you see on the Web App Dashboard