Skip to content

Instantly share code, notes, and snippets.

@SJROHRXD
Last active April 19, 2023 05:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SJROHRXD/8176e98615c7a9f58f4c32f237e4d3fd to your computer and use it in GitHub Desktop.
Save SJROHRXD/8176e98615c7a9f58f4c32f237e4d3fd to your computer and use it in GitHub Desktop.
🪀VS Code Trix - viewing extensions as a list + piping them to clipboard (Mac, Windows, GitBash)

VS Code Trix - viewing extensions as a list + piping them to clipboard (Mac, Windows, GitBash)

Command to view a list of extensions in VS Code:

Windows 🐚

  code --list-extensions

Mac 🧶

  code --list-extensions

Git Bash 🐧

  code --list-extensions

Copy that list to keyboard: (Mac users let me know if this doesn't work)

Windows 🐚

  code --list-extensions | clip

Mac 🧶

  code --list-extensions | pbcopy

Git Bash 🐧

  echo "$(code --list-extensions)" | clip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment