This package provides two commands:
project_notes_open and project_notes_list
{
"notes_dir_path": "...",
"note_file_name": "todo",
"add_note_dir_to_project": true,
"note_dir_name": "notes"
}This will display a quickpanel listing the names of projects which have a note named $note_file_name. And open that file upon selection.
When the command is executed it will open the file:
$notes_dir_path/$PROJECT_NAME/$note_file_name
If there is no project associated with the active window the command will not do anything.
If notes_dir_path is not a path to an existing
directory (example: ~/Documents/notes), it will
default to: SUBLIME_PACKAGE_PATH/User/notes
(~/sublime-text/Packages/User/notes).
If add_note_dir_to_project is set to true the directory containing the note will get added to the current project with the display name defined for note_dir_name.
I often find myself wanting to keep notes, lists of links and other files related to a project, in its own directory, outside the project, so i don't accidentally commit those files to git.
This simple package makes that workflow seamless.
There is no keybindings enabled by default, I personally use Alt+n:
{ "keys": ["alt+n"], "command": "project_notes_open" }
{ "keys": ["alt+shift+n"], "command": "project_notes_list" }bug/issues/enhancements:
https://github.com/budlime/ProjectNotes