JetBrains-Gatway: Show a version picker and folder picker if they are not provided
Currently, our JetBrains-Gateway module accepts a list of IDE identifiers and folders as input and we use it to create the URI and a coder_paramter to pick the IDE.
module "jetbrains_gateway" {
source = "registry.coder.com/modules/jetbrains-gateway/coder"
version = "1.0.8"
agent_id = coder_agent.example.id
agent_name = "example"
folder = "/home/coder/example"
jetbrains_ides = ["GO", "WS", "IU", "PY", "PS", "CL", "RM", "RD"]
default = "PY"
}
After https://github.com/coder/jetbrains-coder/pull/372, we allow showing a version picker if these fields are not provided.
We should update the module to test that.
TODO:
- [ ] Update module
- [ ] Test each case manually to ensure new and old behavior works.
@code-asher, are you interested in doing this? If not, any suggestions?
Yeah I am down. It might take me some time to get to it though. I will bring it up in our next planning meeting to get it scheduled.
For implementation, I imagine it should actually be pretty easy, we just need these to be optional so users can omit them when they would rather use the picker from the JetBrains plugin.