You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks a lot for supporting vscode in Brewfile, this is really helpful.
Right now brew dumps all plguins without their versions, but sometimes vscode plugins require a specific version due to some changes in them.
vscode already support installing specific versions of plugins and listing the version.
Right now I have to skip vscode in Brewfile and keep a separate file with code --install-extension 'ext@version' calls. Which is not very convenient :(
My proposal is:
Let's add a CLI flag for it: something like --vscode-with-versions (or HOMEBREW_BUNDLE_VSCODE_VERSION=true env var)
--install-extension <ext-id | path> Installs or updates an extension. The argument is
either an extension id or a path to a VSIX. The
identifier of an extension is
'${publisher}.${name}'. Use '--force' argument to
update to latest version. To install a specific
version provide '@${version}'. For example:
'[email protected]'.
What do others think?
The text was updated successfully, but these errors were encountered:
this goes against Homebrew and homebrew/bundle in general so very unlikely and not something I can see being included. see the note in the README on versions for more details.
#!/usr/bin/env bashset -e
# Brewfile does not support dumping exact versions by default.# So, here are some exact versions of plugins that I use# (when I care about the version).
sd -s 'vscode "teabyii.ayu"''vscode "[email protected]"' Brewfile
echo'Brewfile updated'
This can be added to pre-commit hooks as well.
Works like a charm :)
Hi! Thanks a lot for supporting
vscode
inBrewfile
, this is really helpful.Right now
brew
dumps all plguins without their versions, but sometimesvscode
plugins require a specific version due to some changes in them.vscode
already support installing specific versions of plugins and listing the version.Right now I have to skip
vscode
inBrewfile
and keep a separate file withcode --install-extension 'ext@version'
calls. Which is not very convenient :(My proposal is:
--vscode-with-versions
(orHOMEBREW_BUNDLE_VSCODE_VERSION=true
env var)--show-versions
here: https://github.com/Homebrew/homebrew-bundle/blob/743f2aad47601c1e162f0ff05219d5a0bb15e0ad/lib/bundle/vscode_extension_dumper.rb#L13C10-L13C32 if the flag is setIt should just work after that:
What do others think?
The text was updated successfully, but these errors were encountered: