Skip to content

Install the Pinpoint VS Code extension on new machines - #16

Merged
tedchamb merged 1 commit into
mainfrom
tedchamb/vscode-pinpoint
Sep 20, 2026
Merged

tedchamb merged 1 commit into
mainfrom
tedchamb/vscode-pinpoint

Conversation

@tedchamb

Copy link
Copy Markdown
Owner

Installs the Pinpoint VS Code extension on new machines. It is not on the Marketplace, so it is installed from the .vsix attached to its latest GitHub release, following the same pattern as logfmtpp.

Changes

  • vscode/install.sh (new): resolves the latest release tag by following the releases/latest redirect, compares it with the version code --list-extensions --show-versions reports, and downloads and installs the .vsix only when they differ. On macOS it falls back to the CLI inside the VS Code app bundle, so it works before code has been added to PATH. When VS Code is not installed it prints a message and exits 0.
  • install.sh: runs the new step at the end.

Testing

Ran vscode/install.sh on a Mac three ways: with the extension already installed (no-op), after uninstalling it (downloaded from the release and installed 0.1.0), and with VS Code hidden from it (skipped with exit 0). The last case is what test-install exercises on ubuntu-latest.

🤖 Generated with Claude Code

Adds vscode/install.sh, which installs extensions that are not on the
Marketplace from the .vsix attached to their latest GitHub release, and
hooks it into install.sh. It is skipped when VS Code is not installed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@tedchamb
tedchamb merged commit cae8a82 into main Sep 20, 2026
1 check passed
@tedchamb
tedchamb deleted the tedchamb/vscode-pinpoint branch September 20, 2026 18:11
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

Successfully merging this pull request may close these issues.

1 participant