Bookmarks and TODO items
Bookmarks mark the lines you want to come back to; the TODO tool window lists the TODO and
FIXME comments of the whole project. Both: Experimental.
Set a bookmark
Section titled “Set a bookmark”- Put the caret on the line and choose Edit › Bookmarks › Toggle Bookmark (F3 on macOS, F11 on Linux). A mark appears in the gutter in place of the line number.
- To give it a mnemonic, choose Toggle Bookmark with Mnemonic (⌥F3,
CtrlF11) instead. A grid of
1to9,0andAtoZopens: type a character, or Tab to the Description (optional) field first. Taken characters are marked. - The same command on a bookmarked line removes the bookmark.
A mnemonic is unique per project; letters are stored as capitals. For digits there are direct keys: ⌃⇧3 sets bookmark 3 and ⌃3 jumps to it (CtrlShift3 and Ctrl3 on Linux).
Go back to a bookmark
Section titled “Go back to a bookmark”- Edit › Bookmarks › Show Bookmarks (⌘F3, ShiftF11) lists every bookmark, newest first, with a preview of its code. Type a mnemonic to jump to it, or choose a row; ⌫ removes the selected bookmark.
- Go to Mnemonic… lists only the bookmarks with a mnemonic, in order of the mnemonic.
- Go to Next Bookmark and Go to Previous Bookmark step through the bookmarks of the open file.
- The Bookmarks tool window (⌘2, Alt2) shows them as a tree of files; Delete removes one and F2 edits its description.
Bookmarks follow your edits: a line you move down moves its bookmark with it, and deleting the line deletes the bookmark. Renaming or moving a file in Ferris IDEA carries its bookmarks along; changes made by other programs are not followed. A breakpoint on the same line hides the bookmark’s mark.
Bookmarks are kept per project in .ferris-idea/bookmarks.toml, a readable file you may commit to
share them (File formats). They are for files of the project;
remote projects do not have them yet.
List the TODO items
Section titled “List the TODO items”Open View › Tool Windows › TODO. The window lists every comment of the project that contains
the word TODO or FIXME, in any case, grouped by folder and file with counts. Comments that
continue on the next lines are joined.
- The tabs Project and Current File switch the scope.
- The filter shows All, only
todoor onlyfixmeitems. - Group by Modules, Group by Packages and Flatten Packages change the tree; packages are folders.
- Preview Source shows the code next to the list. Previous Occurrence and Next Occurrence step through the items and open each in the editor.
Only text inside comments counts, so a variable named todo is not listed. Files of a language
without a grammar are counted as not checked; plain .txt files are searched whole. The list
stops at 5,000 items and says so. While the window is open it follows your edits, including
unsaved ones, within two seconds.
The patterns are fixed to TODO and FIXME for now; you cannot add your own.
Shortcuts
Section titled “Shortcuts”| Action | Shortcut |
|---|---|
| Activate bookmarks tool windowActivateBookmarksToolWindow | ⌘2Alt2 |
| Edit › Bookmarks › Go to Mnemonic | ⌥⌘F3CtrlShiftF11 |
| Edit › Bookmarks › Show Bookmarks | ⌘F3ShiftF11 |
| Edit › Bookmarks › Toggle Bookmark | F3F11 |
| Goto bookmark1GotoBookmark1 | ⌃1Ctrl1 |
| Navigate › Next Occurrence | ⌥⌘↓CtrlAlt↓ |
| Navigate › Previous Occurrence | ⌥⌘↑CtrlAlt↑ |
| Toggle bookmark with mnemonicToggleBookmarkWithMnemonic | ⌥F3CtrlF11 |
| Toggle bookmark1ToggleBookmark1 | ⌃⇧1CtrlShift1 |
When it does not work
Section titled “When it does not work”Bookmarks are for files of the project. The file lies outside the project folder.No TODO items found.The words must stand in comments; check that the file’s language is one Ferris IDEA highlights.
For agents
Section titled “For agents”An agent lists bookmarks and TODO items without a right; setting or removing a bookmark needs
write and previews first.
bookmarksThe line bookmarks of this workspace, newest first, as the editor's gutter, the Bookmarks popup and the Bookmarks tool window show them:path(workspace-relative), 1-basedline,mnemonic(one of 1-9, 0, A-Z; unique in the project),description,text(the line's text on disk without the white space at its ends; null when the line is past the end of the file) andmissing: truewhen the file is not there.remove_bookmarkRemove a bookmark of this workspace: the one online(1-based) ofpath, or the one withmnemonic.set_bookmarkSet or change the bookmark on a line of a workspace file.todo_itemsTODO items of this workspace as the TODO tool window lists them:todoorfixmeas a word, any case, inside a comment.
No tool matches. Try fewer words, or .