You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
modules/jetbrains-gateway
Muhammad Atif Ali 70020d8b8c Support multiple default IDEs in JetBrains Gateway 10 months ago
..
README.md Support multiple default IDEs in JetBrains Gateway 10 months ago
main.test.ts Fix JetBrains Gateway tests for multiple IDEs 10 months ago
main.tf Update slug format for JetBrains Gateway apps 10 months ago

README.md

display_name description icon maintainer_github verified tags
JetBrains Gateway Add a one-click button to launch JetBrains Gateway IDEs in the dashboard. ../.icons/gateway.svg coder true
ide
jetbrains
helper
parameter

JetBrains Gateway

This module adds a JetBrains Gateway Button to open any workspace with a single click.

module "jetbrains_gateway" {
  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
  version        = "1.0.23"
  agent_id       = coder_agent.example.id
  agent_name     = "example"
  folder         = "/home/coder/example"
  jetbrains_ides = ["CL", "GO", "IU", "PY", "WS"]
  default        = ["GO"]
}

JetBrains Gateway IDes list

Examples

Add GoLand and WebStorm as options with the default set to GoLand

module "jetbrains_gateway" {
  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
  version        = "1.0.23"
  agent_id       = coder_agent.example.id
  agent_name     = "example"
  folder         = "/home/coder/example"
  jetbrains_ides = ["GO", "WS"]
  default        = ["GO"]
}

Use the latest release version

module "jetbrains_gateway" {
  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
  version        = "1.0.23"
  agent_id       = coder_agent.example.id
  agent_name     = "example"
  folder         = "/home/coder/example"
  jetbrains_ides = ["GO", "WS"]
  default        = ["GO"]
  latest         = true
}

Use the latest EAP version

module "jetbrains_gateway" {
  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
  version        = "1.0.23"
  agent_id       = coder_agent.example.id
  agent_name     = "example"
  folder         = "/home/coder/example"
  jetbrains_ides = ["GO", "WS"]
  default        = ["GO"]
  latest         = true
  channel        = "eap"
}

Due to the highest priority of the ide_download_link parameter in the (jetbrains-gateway://... within IDEA, the pre-configured download address will be overridden when using IDEA's offline mode. Therefore, it is necessary to configure the download_base_link parameter for the jetbrains_gateway module to change the value of ide_download_link.

module "jetbrains_gateway" {
  source             = "registry.coder.com/modules/jetbrains-gateway/coder"
  version            = "1.0.23"
  agent_id           = coder_agent.example.id
  agent_name         = "example"
  folder             = "/home/coder/example"
  jetbrains_ides     = ["GO", "WS"]
  releases_base_link = "https://releases.internal.site/"
  download_base_link = "https://download.internal.site/"
  default            = ["GO"]
}

Add multiple IDEs

Note: This removes the choice of IDE from the user.

module "jetbrains_gateway" {
  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
  version        = "1.0.23"
  agent_id       = coder_agent.example.id
  agent_name     = "example"
  folder         = "/home/coder/example"
  default        = ["GO", "WS"]
}

Supported IDEs

This module and JetBrains Gateway support the following JetBrains IDEs:

  • GoLand (GO)
  • WebStorm (WS)
  • IntelliJ IDEA Ultimate (IU)
  • PyCharm Professional (PY)
  • PhpStorm (PS)
  • CLion (CL)
  • RubyMine (RM)
  • Rider (RD)