Skip to content

JetBrains-Gatway: Show a version picker and folder picker if they are not provided #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks
matifali opened this issue Mar 14, 2024 · 2 comments
Open
2 tasks

Comments

@matifali
Copy link
Member

matifali commented Mar 14, 2024

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 coder/jetbrains-coder#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.
@matifali
Copy link
Member Author

@code-asher, are you interested in doing this? If not, any suggestions?

@code-asher
Copy link
Member

code-asher commented Mar 15, 2024

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.

@Parkreiner Parkreiner transferred this issue from coder/modules May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants