BreakPoint 🔍
See exactly what changed since your project last worked, diff broken code, and rollback changes in one click.
BreakPoint is a privacy-first Visual Studio Code extension designed to answer the most frustrating question in software development:
"My code was working 10 minutes ago. What exact files did I touch before it broke, and how do I get back?"
🌟 What's New in v0.2.0
- 🔄 One-Click Revert & Rollback: Restore individual modified or deleted files directly from the sidebar, or revert all changes back to your working baseline with a single click.
- ⚡ Real-Time Live Auto-Refresh: As you write and save code, BreakPoint automatically updates the status bar change counts and sidebar in real-time. No manual refresh required.
- 🎨 Polished UI & Theme Icons: Tree nodes now show change count badges (
Modified (3), Added (1), Deleted (0)), VS Code native file theme icons, and inline action buttons on hover.
- ⚡ Interactive Status Bar Quick Menu: Clicking the BreakPoint status bar icon opens a fast action palette to run builds, mark checkpoints, rollback changes, or inspect diffs.
- 🌐 Comprehensive Multi-Language Support: Checkpoints now cover TypeScript, JavaScript, Python, Go, Rust, C/C++, C#, Java, Dart, PHP, Ruby, HTML, CSS/SCSS, JSON, YAML, Markdown, SQL, and Shell scripts—with custom inclusion and exclusion settings.
🚀 Features
- 🎯 Instant Baseline Checkpoints: Save a snapshot of your entire workspace the moment your code compiles or tests pass cleanly.
- 🚀 Automated Build & Test Integration: Run your project's build or test commands directly through BreakPoint. It automatically creates a checkpoint if the build succeeds (exit code
0)!
- 🔍 Real-Time Difference Tracking: When your code breaks, BreakPoint scans your files to show exactly what was modified, added, or deleted since your last working checkpoint.
- ⚖️ Side-by-Side Diff Viewer: Click any modified file in the BreakPoint sidebar to instantly open a side-by-side Diff View comparing your current broken code against the working baseline.
- ↩️ Instant Rollback Safety Net: Revert any mistake instantly with hover buttons or context menus.
- 🔒 100% Privacy Focused: Operates entirely locally. BreakPoint does not send source code to the cloud or remote servers. Everything stays offline on your machine.
When changes are detected, your BreakPoint sidebar organizes everything clearly:
Changes
├── 🕒 Last Working: 10:32 AM
├── 📝 Modified (2)
│ ├── src/controllers/userController.ts [🔍 Diff] [↩ Revert]
│ └── src/app.ts [🔍 Diff] [↩ Revert]
├── ➕ Added (1)
│ └── src/utils/auth.ts [🗑 Remove]
└── ❌ Deleted (0)
└── None
Hovering over any item reveals inline quick actions (Diff, Restore / Revert).
📖 Usage Guide
Method 1: The Automated Way (Recommended)
Let BreakPoint manage your checkpoints automatically as you build:
- Open the Command Palette (
Ctrl+Shift+P).
- Run
BreakPoint: Run Project (or click the ▶ button on the BreakPoint sidebar header).
- BreakPoint executes your configured command (
npm run build, pytest, cargo check, etc.).
- If it succeeds: BreakPoint captures a working baseline checkpoint automatically.
- If it fails later: Check the BreakPoint sidebar to see every file modified since the last passing build, diff the changes, and revert if needed!
Method 2: The Manual Snapshot
- When your code is in a good working state, run
BreakPoint: Mark Current State as Working (or click the ✓ icon on the sidebar header).
- Continue coding, refactoring, or experimenting.
- If anything breaks, open the BreakPoint sidebar to compare or revert back to safety.
Method 3: Status Bar Quick Actions
Click the BreakPoint item in the bottom status bar (✓ BreakPoint: Working or ⚠ BreakPoint: 2 changes) to open a Quick Pick menu with immediate actions:
- Run Project
- Mark Current State as Working
- Revert All Changes
- View Changed Files in Sidebar
- Clear Checkpoint
⚙️ Configuration Settings
Customize BreakPoint in VS Code Settings (Ctrl+, -> search BreakPoint):
| Setting |
Default |
Description |
breakpoint.runCommand |
"npm run build" |
Command BreakPoint executes when running your project. |
breakpoint.autoRefresh |
true |
Automatically refresh change detection when files are saved or deleted. |
breakpoint.includeExtensions |
Standard list |
List of file extensions tracked in checkpoints (e.g. [".ts", ".py", ".rs"]). |
breakpoint.excludeDirectories |
Standard ignores |
Directory names ignored by the workspace scanner (node_modules, dist, .git, etc.). |
breakpoint.maxFileSizeKB |
1024 |
Maximum file size (in KB) to index into a checkpoint. |
⌨️ Available Commands
Press Ctrl+Shift+P to access:
BreakPoint: Run Project - Runs your build command and snapshots on success.
BreakPoint: Mark Current State as Working - Manually saves a baseline checkpoint.
BreakPoint: Revert All Changes to Working Checkpoint - Restores all modified/deleted files and cleans added files.
BreakPoint: Restore to Checkpoint - Reverts the selected file back to baseline.
BreakPoint: Compare with Working Baseline - Opens diff view between working version and disk.
BreakPoint: Refresh Changes - Manually refreshes diff calculations.
BreakPoint: Clear Checkpoint - Clears the active checkpoint.
BreakPoint: Show Quick Actions Menu - Displays the status bar quick actions.
- Zero Cloud Footprint: BreakPoint does not use external APIs or cloud services.
- Fast SHA-256 Hashing: Tracks file changes accurately without wasteful disk clones.
- Size Limits & Exclusions: Automatically skips large bundle artifacts, dependencies, and build outputs to ensure your editor remains fast and responsive.
| |