Created
August 26, 2023 16:07
-
-
Save jhordyess/f650da1c38e6648b6b02bbecbb0b33d4 to your computer and use it in GitHub Desktop.
Generate a list of your Visual Studio Code extensions and their Marketplace URLs with this bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get the list of installed extensions | |
extensions=$(code --list-extensions) | |
# Visual Studio Code Marketplace base URL | |
base_url="https://marketplace.visualstudio.com/items?itemName=" | |
# Iterate through the extensions and generate URLs | |
for extension in $extensions | |
do | |
extension_url="$base_url$extension" | |
echo "Extension: $extension" | |
echo "URL: $extension_url" | |
echo "" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to Use:
.sh
file.chmod +x script_name.sh
../script_name.sh
.