A simple text-based journal extension for Visual Studio Code.
Access your Daily Notes conveniently with a shortcut: Alt+N
Insert a note anywhere with a shortcut: Alt+I
Date header is generated automatically, format is configurable
Made in Markdown format so VSCode preview is possible with: Ctrl+Shift+V
Syntax highlighting for selected tags
There are 2 ways to open Daily Notes file:
VSCode Command: Ctrl+Shift+P or F1, then type Open Daily Notes
Shortcut Key-bind: Press Alt+N
If the Daily Notes file is already open:
Press Alt+N to generate new line of current date
Press Ctrl+W to close the file
Press Ctrl+S to save the file
You may save your note file anywhere:
Create a new file daily-notes.md, copy the path and set the dailyNotes.filePath in config.
You can can insert a quick note without opening the Daily Notes File: Press Alt+I
This extension contributes the following settings:
dailyNotes.dateFormat: Allows custom formatting of date header. Leave it empty to use default format. You can see formatting options here.
dailyNotes.filePath: The complete location of the file to be used. When empty the file will be created in user's home directory.
Sample path for Windows: c:/Users/John/daily-notes.md
Sample path for Mac or Linux: Users/john/daily-notes.md
editor.tokenColorCustomizations.textMateRules: You can customize tag colors here.
If you are using remote Windows Subsystem for Linux a.k.a WSL for VSCode, the file path format from Windows may not work.
This can be solved easily by using the file path from WSL e.g. /mnt/c/projects.