coder / modules

A collection of Terraform Modules to extend Coder templates.
https://registry.coder.com
Apache License 2.0
33 stars 33 forks source link

VSCode liveshare button #263

Open stirby opened 4 months ago

stirby commented 4 months ago

We should add a module that integrates with our VSCode desktop extension + liveshare. It would automatically install the VSCode liveshare extension, and add a button that opens a new session. The button would just say "Open Liveshare" and immediately provide a link to share the session.

matifali commented 4 months ago

I don't think there is a straightforward way to install and configure extensions in the VS Code Desktop before launching it. We may need to support this within the coder.coder-remote extension after we make the connection.
@code-asher may have more ideas here.

code-asher commented 4 months ago

Yeah we could add it as a dependency of our extension to make it auto-install.

matifali commented 4 months ago

Yeah we could add it as a dependency of our extension to make it auto-install.

Yeah but should be configurable and only if launched through this module.

code-asher commented 4 months ago

That does seem tricky, I am not sure we can do optional/conditional dependencies.

Maybe we will need a second plugin that we call instead, that has Liveshare and our first plugin as a dependency, and then that second plugin calls our first plugin.