Closed TobyDustin closed 1 month ago
Hi @TobyDustin, thanks for the PR.
I was thinking of an improvement like this. It would also be better to have the user type the folder path while they create the notes.
For example:
todo/shopping-list
meetings/toby<>indra
And create the notes in the directory specified in the path. If the directory is not created we create the directory before creating the notes. WDYT?
Thats a really great idea. With this implementation as well we don't have to specify a new command, we can use the create notes command. I will make the change now.
Do we need to think about users wanting to use "/" in there notes titles? if we start splitting the notes titles this may cause an issue?
Description
This pull request introduces a new feature to the VSJournal extension, allowing users to create a new note inside a specified folder. The new command,
VSJournal: Create New Note in Folder
, enhances the existing functionality by providing better organisation and structure for journal entries.Changes
New Command Implementation
VSJournal: Create New Note in Folder
to the extension.UI Enhancements
Code Modifications
extension.js
to include the new command.disposableCreateNoteInFolder
withinextension.js
.Documentation
How to Test
VSJournal: Create New Note in Folder
.Screenshots
Screenshot of the folder selection dialog.
Screenshot of a new note created inside a folder.
Review Checklist
Please review the changes and provide feedback. Looking forward to your inputs and suggestions!
Thank you!