components/ide/jetbrains/gateway-plugin/README.md
Provides a way to connect to Gitpod workspaces.
<!-- Plugin description end -->This plugin is based on the IntelliJ Platform Plugin Template.
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.
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:
./gradlew runIde
If you want to open a real workspace in the dev build, follow these steps:
curl http://localhost:24000/gatewayLink
# This will output something like:
# jetbrains-gateway://connect#gitpodHost=gitpod.io&workspaceId=andreafalze-gitpodexper-4xasfqb42zr&backendPort=63342
./gradlew runIde --args="jetbrains-gateway://connect#gitpodHost=gitpod.io&workspaceId=andreafalze-gitpodexper-4xasfqb42zr&backendPort=63342"
For executing the tests and the static analysis validations, run:
./gradlew check
Note: Gradle should run with Java 11.