Co-authored-by: DevCats <christofer@coder.com> Co-authored-by: DevCats <chris@dualriver.com>
2.4 KiB
| display_name | description | icon | tags | |||
|---|---|---|---|---|---|---|
| JetBrains Plugin Installer | Companion module for coder/jetbrains that automatically installs JetBrains Marketplace plugins. | ../../../../.icons/jetbrains.svg |
|
JetBrains Plugin Installer
A companion module for coder/jetbrains that automatically installs JetBrains Marketplace plugins into your workspace.
Use this alongside the core coder/jetbrains module — it handles plugin
installation while coder/jetbrains handles IDE setup and Toolbox
integration.
module "jetbrains_plugins" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/harsh9485/jetbrains-plugins/coder"
version = "0.1.0"
agent_id = coder_agent.main.id
jetbrains_plugins = {
"PY" = ["com.koxudaxi.pydantic", "com.intellij.kubernetes"]
}
}
Prerequisites
- The coder/jetbrains module (or equivalent JetBrains Toolbox setup) must already be configured in your template.
jqmust be available onPATH.- Linux environment only.
Finding Plugin IDs
Open the plugin page on the JetBrains Marketplace. Scroll to Additional Information and copy the Plugin ID.
Usage
module "jetbrains" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/jetbrains/coder"
version = "1.4.0"
agent_id = coder_agent.main.id
folder = "/home/coder/project"
default = ["PY", "GO"]
}
module "jetbrains_plugins" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/harsh9485/jetbrains-plugins/coder"
version = "0.1.0"
agent_id = coder_agent.main.id
jetbrains_plugins = {
"PY" = ["com.koxudaxi.pydantic", "com.intellij.kubernetes"]
"GO" = ["org.jetbrains.plugins.go-template"]
}
}
The keys in jetbrains_plugins are IDE product codes (PY, GO, IU,
etc.) matching the codes used by the coder/jetbrains module. Each value
is a list of Marketplace plugin IDs to install for that IDE.
Important
After installing the IDE, restart the workspace. On the next start the module detects installed IDEs and automatically installs the configured plugins.
Some plugins may be disabled by default due to JetBrains security defaults — you might need to enable them manually in the IDE.