TemplatesModules
Back to Modules
JetBrains Gateway Icon

JetBrains Gateway

By:
Add a one-click button to launch JetBrains Gateway IDEs in the dashboard.
README
Variables (13)
Parameters (1)
Apps (1)
Source

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

1module "jetbrains_gateway" {
2  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version        = "1.0.23"
4  agent_id       = coder_agent.example.id
5  agent_name     = "example"
6  folder         = "/home/coder/example"
7  jetbrains_ides = ["CL", "GO", "IU", "PY", "WS"]
8  default        = "GO"
9}

JetBrains Gateway IDes list

Examples

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

1module "jetbrains_gateway" {
2  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version        = "1.0.23"
4  agent_id       = coder_agent.example.id
5  agent_name     = "example"
6  folder         = "/home/coder/example"
7  jetbrains_ides = ["GO", "WS"]
8  default        = "GO"
9}

Use the latest release version

1module "jetbrains_gateway" {
2  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version        = "1.0.23"
4  agent_id       = coder_agent.example.id
5  agent_name     = "example"
6  folder         = "/home/coder/example"
7  jetbrains_ides = ["GO", "WS"]
8  default        = "GO"
9  latest         = true
10}

Use the latest EAP version

1module "jetbrains_gateway" {
2  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version        = "1.0.23"
4  agent_id       = coder_agent.example.id
5  agent_name     = "example"
6  folder         = "/home/coder/example"
7  jetbrains_ides = ["GO", "WS"]
8  default        = "GO"
9  latest         = true
10  channel        = "eap"
11}

Custom base link

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.

1module "jetbrains_gateway" {
2  source             = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version            = "1.0.23"
4  agent_id           = coder_agent.example.id
5  agent_name         = "example"
6  folder             = "/home/coder/example"
7  jetbrains_ides     = ["GO", "WS"]
8  releases_base_link = "https://releases.internal.site/"
9  download_base_link = "https://download.internal.site/"
10  default            = "GO"
11}

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)