Overview Version History Q & A Rating & Review
Safe Checkpoint
VS Code / Cursor extension to save, compare, and restore versions of your work in a simple way.
v0.1 focuses on Publish : one action runs git add, git commit (with your message), and git push—without using the Git UI yourself.
Requirements
Git installed and available on your PATH.
A folder opened in the editor that is a Git repository .
A remote configured (e.g. origin) and the current branch upstream set (e.g. after one git push -u origin <branch>).
Install (development)
Clone this repo and open the folder in VS Code or Cursor.
Run npm install.
Run npm run compile.
Press F5 (Run Extension) to open an Extension Development Host and try Safe Checkpoint: Publish from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
Usage
Open your project folder (the one that contains your .git folder).
Run command Safe Checkpoint: Publish .
Edit the suggested commit message if you want, then confirm.
If there are no changes, you’ll see a short notice. If push fails after a successful commit, you’ll get guidance and optional error details.
On startup, if the folder is not a Git repo, Safe Checkpoint shows a one-time informational message.
Manual scenarios: docs/SMOKE_TESTS.md .
Package a VSIX (smoke test)
npm install
npm run compile
npx vsce package
This produces a .vsix file you can install: Extensions view → ... → Install from VSIX... .
Publish to the VS Code Marketplace
Create a publisher (Microsoft account).
Install CLI: npm install -g @vscode/vsce (or use npx vsce).
Create a Personal Access Token with Marketplace (Manage) scope.
Run vsce login <your-publisher-id>.
In package.json , set "publisher" to your publisher ID and update "repository" if needed.
Run vsce publish (or vsce publish patch for subsequent versions).
Short copy-paste flow: docs/MARKETPLACE.md .
License
See LICENSE .