Skip to content

feat: add bookmarks to toggle and jump between marked lines#120

Open
eugenioenko wants to merge 1 commit into
mainfrom
feat/bookmarks
Open

feat: add bookmarks to toggle and jump between marked lines#120
eugenioenko wants to merge 1 commit into
mainfrom
feat/bookmarks

Conversation

@eugenioenko

Copy link
Copy Markdown
Owner

Summary

  • Add per-tab bookmark support: toggle bookmarks on any line, navigate between them (next/prev with wrap-around), and clear all bookmarks
  • Bookmark indicators (●) render in the gutter column with a themed style (StyleBookmark, default #d7ba7d)
  • Bookmarks persist across tab switches via the editorTab state sync mechanism
  • Keybindings: Ctrl+K M (toggle), Ctrl+K N (next), Ctrl+K , (prev); also available via command palette

Test plan

  • E2E tests (5 tests): toggle + gutter indicator, next/prev navigation with wrap-around, clear all, per-tab persistence, no-op when no bookmarks
  • Functional tests (3 tests): toggle + indicator visibility, navigation between bookmarks, clear all bookmarks
  • All existing tests pass (go test ./...)
  • Build passes (go build ./...)

Closes #87

🤖 Generated with Claude Code

Add per-tab bookmark support with gutter indicators, navigation
(next/prev with wrap-around), and clear-all. Bookmarks persist
across tab switches. Includes E2E and functional tests.

Closes #87

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Bookmarks / marks — toggle and jump between marked lines

1 participant