Files
dbx/docs/screenshots
PanyangYandzipg 0a8bcdd8b1 feat(editor): add SQL editor line bookmarks (#13057)
* feat(editor): add SQL editor line bookmarks

Add line bookmarks to the query editor: toggle the current line with Mod+F2 or the new gutter column, jump between bookmarks with F2 / Shift+F2, and keep bookmark positions attached to their lines while editing. Bookmarks are cached per tab and cleared when a different tab's document is swapped in.

All three shortcuts are configurable under Settings > Shortcuts and translated in every shipped locale. Covered by pure navigation tests, CodeMirror state tests, and a mounted QueryEditor integration test.

Refs #12639

* test(editor): account for bookmark scopes and remove completion timing race

* fix(editor): ignore context clicks in bookmark gutter

* fix(editor): narrow bookmark gutter events to mouse events

* test(editor): remove unused bookmark fixture binding

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-11-03 01:32:23 +08:00
..