Refactor the `default` variable to accept a list, enabling the
specification of multiple default IDEs. This change allows users
to manage configurations for multiple IDEs more efficiently.
- Updated `default` type from string to list(string)
- Iterated over default IDEs to generate corresponding resources
- Ensured backward compatibility where single IDE configs were used
Another try at #96. I cannot reproduce the error on deployment and dev.coder.com.
It also removes Community editions, `Rider`, and `DataGrip` as they are not supported for Remote Development.
From #66, also added testing for `jetbrains-gateway`.
## Regions
Azure and AWS were simple, but there is no error message when no region is selected:
https://github.com/coder/modules/assets/58410745/9a9e317b-7764-427f-b298-86313de5fb33
Open to feedback on this.
## Jetbrains Gateway
The Jetbrains gateway default IDE satisfies a ton of logic in the template, so allowing `null` would lead to a lot of patchwork `try` statements. Now it's implemented to use the first IDE in the `jetbrains_ides` as the coder_parameter default for cleanliness.
Let me know your thoughts.