Skip to content

Bookmark #26

@mkh-user

Description

@mkh-user

Feature Summary

Add support for persistent bookmarks that allow users to mark important lines or sections in a file and revisit them across sessions.

Motivation

While temporary navigation marks are useful during a single session, users often need to keep track of key locations in their files over time—such as TODOs, reference points, or frequently edited sections. Persistent bookmarks improve long-term navigation and productivity, especially in large or modular projects.

Proposed Design

  • Allow users to add a bookmark to any line via shortcut, gutter or context menu.
  • Bookmarks can include optional labels.
  • Display bookmarks in gutter and a popup.
  • Bookmarks are saved in a project file for projects and in editor data based on file path.

Acceptance Criteria

  • Users can add, edit, and remove bookmarks.
  • Bookmarks persist across sessions (and are stored per project in project mode).
  • Users can navigate to bookmarks via UI or keyboard shortcuts.
  • Bookmarks are displayed with labels and line numbers in a sub-window.
  • Bookmarks do not interfere with file content or version control.

Related Issues / Discussions

Implementation Notes (Optional)

  • Use a structured format to store bookmarks per file paths with line numbers and labels.
  • Allow export/import of bookmarks for portability.
  • Separate in project bookmarks from file based bookmarks and keep project bookmarks in project file.

Localization & Accessibility

  • Localize UI elements such as bookmark panel, tooltips, and context menu options.

Community Feedback (Optional)

Nothing

Metadata

Metadata

Assignees

Labels

action scriptsOfficial action scripts or action scripts featuresfeature: NavigationImproves movement across UI sections, files, or project structure

Projects

Status

Completed

Relationships

None yet

Development

No branches or pull requests

Issue actions