Skip to content
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

VSCode@Insiders Support for Extensions #1412

Closed
DeanFoley opened this issue Jul 18, 2024 · 6 comments
Closed

VSCode@Insiders Support for Extensions #1412

DeanFoley opened this issue Jul 18, 2024 · 6 comments

Comments

@DeanFoley
Copy link

👋 more of a feature request than an issue!

Being able to bulk install VSCode extensions with Brew is absolutely superb; you can even use something like yadm to have machine/context-specific lists of extensions, absolutely great stuff.

I just bootstrapped a new MacOS installation using Brew to install my VSCode plugins and I'm deciding to use the Insiders build on this machine rather than the stable build. I think it would be cool if, similar to how Brewfiles can be used to bulk-install VSCode extensions, you could also do the same for VSCode@Insiders installations!

Obviously quite a few ways this could work, such as a vscode-insiders prefix in Brewfiles, but wanted to float the idea before talking too much about potential implementations. Is this something that the project maintainers would be interested in implementing, or is it a bit too niche of a use-case?

Cheers!

@jacobbednarz
Copy link
Member

we spoke about other distributions in the initial implementation thread and i don't think we're opposed to it but would be looking for someone who uses this particular distributions to drive the implementation.

personally, i'd +1 this if the build is within the existing vscode stanza. example: vscode "foo", build: "code-insiders" where build is the binary name. i'm not tied to the naming here so open to suggestions if someone else has a preference to use something like binary_name to make it more flexible again.

@DeanFoley
Copy link
Author

personally, i'd +1 this if the build is within the existing vscode stanza. example: vscode "foo", build: "code-insiders" where build is the binary name.

That actually is exactly how one can do it!

code-insiders --install-extension "golang.go"

I was hoping to jury-rig some solution that would work for me locally but unfortunately I don't know enough about the under-the-hood specifics of Brew to make it work for me.

@jacobbednarz
Copy link
Member

@MikeMcQuaid
Copy link
Member

I think we should just fall back to a code-insiders binary if code is not found.

Will review a PR for this but closing for now.

@MikeMcQuaid MikeMcQuaid closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
@jacobbednarz
Copy link
Member

that could definitely work if the operator only has a single binary installed. i don't use vscode anymore however, when i did, i had stable and insider builds installed alongside one another which wouldn't work here but the option of assuming code and allowing it to be overridden on a per install level would allow us to cater for both.

@MikeMcQuaid
Copy link
Member

I'd rather we supported the simplest option first and then considered extending later if needed. I'd also rather any complexity be pushed into e.g. environment variables rather than Brewfiles.

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

3 participants