From 2b0dba4ed1c9bda7e6d6f41b7e4ccdda479c39fb Mon Sep 17 00:00:00 2001 From: Susana Ferreira Date: Thu, 7 Aug 2025 11:42:48 +0100 Subject: [PATCH] chore: add description to JetBrains IDEs parameter (#303) ## Description This PR adds a description field to the `jetbrains_ides` `coder_parameter`. This allows the JetBrains IDEs parameter to display a helpful description in both the Coder UI and the CLI, improving clarity for users when selecting which IDEs to configure in a workspace. Screenshot 2025-08-07 at 11 04 13 ## Type of Change - [ ] New module - [ ] Bug fix - [x] Feature/enhancement - [ ] Documentation - [ ] Other ## Testing & Validation - [x] Tests pass (`bun test`) - [x] Code formatted (`bun run fmt`) - [x] Changes tested locally ## Related Issues https://github.com/coder/coder/issues/19145 --- registry/coder/modules/jetbrains/README.md | 12 ++++++------ registry/coder/modules/jetbrains/main.tf | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/registry/coder/modules/jetbrains/README.md b/registry/coder/modules/jetbrains/README.md index 014fe098..6a99d3fd 100644 --- a/registry/coder/modules/jetbrains/README.md +++ b/registry/coder/modules/jetbrains/README.md @@ -14,7 +14,7 @@ This module adds JetBrains IDE buttons to launch IDEs directly from the dashboar module "jetbrains" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/jetbrains/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id folder = "/home/coder/project" } @@ -39,7 +39,7 @@ When `default` contains IDE codes, those IDEs are created directly without user module "jetbrains" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/jetbrains/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id folder = "/home/coder/project" default = ["PY", "IU"] # Pre-configure GoLand and IntelliJ IDEA @@ -52,7 +52,7 @@ module "jetbrains" { module "jetbrains" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/jetbrains/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id folder = "/home/coder/project" # Show parameter with limited options @@ -66,7 +66,7 @@ module "jetbrains" { module "jetbrains" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/jetbrains/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id folder = "/home/coder/project" default = ["IU", "PY"] @@ -81,7 +81,7 @@ module "jetbrains" { module "jetbrains" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/jetbrains/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id folder = "/workspace/project" @@ -107,7 +107,7 @@ module "jetbrains" { module "jetbrains_pycharm" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/jetbrains/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id folder = "/workspace/project" diff --git a/registry/coder/modules/jetbrains/main.tf b/registry/coder/modules/jetbrains/main.tf index 1959b98e..71d52c49 100644 --- a/registry/coder/modules/jetbrains/main.tf +++ b/registry/coder/modules/jetbrains/main.tf @@ -202,6 +202,7 @@ data "coder_parameter" "jetbrains_ides" { count = length(var.default) == 0 ? 1 : 0 type = "list(string)" name = "jetbrains_ides" + description = "Select which JetBrains IDEs to configure for use in this workspace." display_name = "JetBrains IDEs" icon = "/icon/jetbrains-toolbox.svg" mutable = true