Create branch-specific bookmarks with notes in your code. Branchmark allows you to add bookmarks to specific lines in your code, attach notes to them, and easily navigate between them. Each branch gets its own .branch-bookmarks.yaml file, keeping your notes organized and separate across different branches.
Features
📌 Add bookmarks to specific lines in your code
📝 Add notes to your bookmarks
🔍 List and quickly navigate to your bookmarks
🗑️ Remove individual bookmarks or all at once
📊 View all bookmarks in a dedicated sidebar
↕️ Drag and drop to reorder bookmarks in the sidebar
🎯 Visual indicators in the editor gutter and overview ruler
🌿 Branch-specific bookmarks stored in .branch-bookmarks.yaml
🔄 Automatic bookmark file switching when changing branches
Usage
Adding Bookmarks
Place your cursor on the line you want to bookmark
Use the command palette (Cmd+Shift+P / Ctrl+Shift+P) and select "Add Branchmark"
Enter a note for your bookmark
The bookmark will appear in the sidebar and as a visual indicator in your code
Managing Bookmarks
Click on a bookmark in the sidebar to jump to its location
Hover over a bookmark in the sidebar to see the delete option
Drag and drop bookmarks in the sidebar to reorder them
Use the "Remove All Branchmarks" command to clear all bookmarks
Bookmarks are automatically saved in .branch-bookmarks.yaml for the current branch
Bookmark File Structure
Each branch's bookmarks are stored in a .branch-bookmarks.yaml file with the following structure: