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 27e3faf31c feat: enable multiple IDE buttons in JetBrains
Add support for specifying a list of default IDEs to be displayed on
the Workspace page. This allows users to see multiple IDE options
simultaneously. Ensure no duplicates are included and validate
provided IDE codes against allowed set. Adjust logic to dynamically
render IDE buttons based on specified defaults, improving flexibility
in user interface setup.
8 months ago
..
README.md feat(jetbrains-gateway): add releases_base_link/download_base_link variables (#333) 8 months ago
main.test.ts Add owner to Gateway link (#310) 9 months ago
main.tf feat: enable multiple IDE buttons in JetBrains 8 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"
}

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)