TemplatesModules
Back to Modules
JetBrains Gateway Icon

JetBrains Gateway
421165 Installs

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.25"
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.25"
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 version of each IDE

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

Use fixed versions set by jetbrains_ide_versions

1module "jetbrains_gateway" {
2  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version        = "1.0.25"
4  agent_id       = coder_agent.example.id
5  agent_name     = "example"
6  folder         = "/home/coder/example"
7  jetbrains_ides = ["IU", "PY"]
8  default        = "IU"
9  latest         = false
10  jetbrains_ide_versions = {
11    "IU" = {
12      build_number = "243.21565.193"
13      version      = "2024.3"
14    }
15    "PY" = {
16      build_number = "243.21565.199"
17      version      = "2024.3"
18    }
19  }
20}

Use the latest EAP version

1module "jetbrains_gateway" {
2  source         = "registry.coder.com/modules/jetbrains-gateway/coder"
3  version        = "1.0.25"
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.25"
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)