-
Notifications
You must be signed in to change notification settings - Fork 6
Bookmarks
The bookmark system in LLMDog allows you to save and reuse commonly used file selection patterns. This is particularly useful if you find yourself frequently sharing the same sets of files with LLMs for different questions or tasks.
- Save Time: Quickly recall complex file selections without manually re-selecting them
- Consistency: Ensure you're always including the same relevant files for specific types of questions
- Project Organization: Create bookmarks for different components or modules of your project
- Select the files and directories you want to include in your bookmark using
Tab - Press
Ctrl+Shift+Bto save the current selection as a bookmark - In the dialog that appears, enter a name for your bookmark
- (Optional) Add a description to help remember what this bookmark is for
Alternatively, from the bookmarks menu:
- Press
Ctrl+Bto open the bookmarks menu - Press
nto create a new bookmark - Enter a name for the bookmark
- The current selection will be saved under that name
- Press
Ctrl+Bto open the bookmarks menu - Use the up/down arrow keys to navigate to the desired bookmark
- Press
Enterto apply the selected bookmark- This will automatically select all the files that were saved in the bookmark
- Press
Ctrl+Bto open the bookmarks menu - Navigate to the bookmark you want to rename
- Press
r - Enter the new name for the bookmark
- Press
Ctrl+Bto open the bookmarks menu - Navigate to the bookmark you want to edit
- Press
i(for "information") - Enter or modify the description in the text input dialog
- Press
Ctrl+Bto open the bookmarks menu - Navigate to the bookmark you want to delete
- Press
d - The bookmark will be deleted immediately
Bookmarks are stored in a JSON file at:
-
Linux/macOS:
~/.config/llmdog/bookmarks.json -
Windows:
%USERPROFILE%\.config\llmdog\bookmarks.json
The bookmark file structure looks like this:
{
"bookmarks": [
{
"name": "API Controllers",
"description": "All API controller files",
"filePaths": [
"controllers/userController.js",
"controllers/authController.js",
"controllers/productController.js"
],
"rootPath": "/home/user/projects/myapp",
"created": "2025-01-15T12:30:45Z",
"modified": "2025-01-16T09:12:30Z"
},
{
"name": "Database Models",
"description": "Core database entity models",
"filePaths": [
"models/user.js",
"models/product.js",
"models/order.js",
"config/database.js"
],
"rootPath": "/home/user/projects/myapp",
"created": "2025-01-10T16:45:20Z",
"modified": "2025-01-10T16:45:20Z"
}
]
}Bookmarks store relative paths from the project root where they were created. When you apply a bookmark, LLMDog will:
- Attempt to find the files at the saved paths relative to your current directory
- Display a warning if any files in the bookmark can't be found
- Select any files that do exist at the correct relative paths
This means bookmarks work best when:
- You're in the same project directory where you created the bookmark
- Your project structure hasn't changed significantly since creating the bookmark
Each bookmark stores:
- The set of selected files (relative paths)
- The root directory path where it was created
- Creation timestamp
- Last modified timestamp
- Optional description
-
Use clear, descriptive names: Choose names that indicate exactly what files are included.
-
Add detailed descriptions: The description field can be used to note:
- What types of questions this file selection is useful for
- Why these specific files are grouped together
- Any special considerations when using this bookmark
-
Create purpose-specific bookmarks: Rather than having one large bookmark, create several smaller ones for different purposes:
- Backend components
- Frontend components
- Configuration files
- Test files
-
Regularly update bookmarks: As your project evolves, periodically check and update your bookmarks to ensure they remain relevant.
-
Delete unused bookmarks: Remove bookmarks you no longer need to keep the list manageable.