-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Add support for vscode
extensions
#1208
Conversation
Allow them to be installed, dumped, checked and cleaned up. While we're here: - pass `--formula` for a few other installations - `brew services` can now run on Linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only suggestion is around including VSCodium. I use it as much as I use VSCode, which is mostly just on my comp survey project (VSC's Jupyter + Python support is rad). The machine on which I actively use VSCodium is many miles away right now so I can't test to see if it installs a code
executable. All I could confirm is that it does install a codium
executable. Someone aliasing with alias code=codium
would fix that problem in the meantime.
I'm not 100% sold on this but I could see the utility. I don't use Atom any more but at one point tracked packages and installed them using something I'd certainly preferred be built into something else.
Adding VSCode support kinda makes me want to add in Jetbrains IDEs extension installation. It'd reduce the amount of "oh, you need plugins X, Y, Z" for my team…
Reasoning for this: 3+ people I've spoken to in person said they would use this and the impact on people without VSCode in their PATH is essentially nil. I would support JetBrains plugins and other similar things. The more things we support: the more useful Homebrew Bundle is for people. The future PR I may add is 1Password support to be able to dump secrets into specified locations on disk. |
I'm happy with the explicit approach here but do wonder if we should make the interface more configurable given the desire above to extend it eventually for more tools. something like examples
not sold on the nomenclature of provider but 🤷♂️ |
That almost kinda begs for extensions provider: :vscode do
ext "GitHub.codespaces"
end
extensions provider: :jetbrains do
app :pycharm do
ext "pylint"
end
app :intellij do
ext "scala"
end
end but this is probably too verbose. |
Cool ideas but let's not blow up the scope here. VSCode, VSCodium and even JetBrains can get support added later by either of you who want it personally. Keeping this non-generic makes the DSL and the code simpler and more readable. |
Yeah, I'm very 👍 on this now that I understand the trajectory of what you're aiming to enable. |
after looking at this some more, i am a little concerned if we introduce |
I do not want to support this in a more uniform way e.g.
No. I do not want to generalise this ever, sorry 😄. I am game to have Thanks for review/comments anyway folks ❤️ |
This change adds vscode extension removal to |
No, it doesn't. It adds it to |
I see the fix is in already. #1210 |
YES thank you for adding this @MikeMcQuaid ! Dunno if you were planning on it, but I'd recommend making some sort of announcement about this because I only found out when I ran brew bundle and was pleasantly surprised by the |
VSCode support was recently added in Homebrew/homebrew-bundle#1208
Thanks @PatrickF1! We'll likely announce this in the next public major or minor release. |
From this PR Homebrew/homebrew-bundle#1208, it supports the same as Formulae, Casks, mas, and more.
Allow them to be installed, dumped, checked and cleaned up.
While we're here:
--formula
for a few other installationsbrew services
can now run on Linux