pajoma / vscode-journal

Lightweight journal and simple notes support for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=pajoma.vscode-journal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change filename rules

JekRock opened this issue · comments

I think it would be easier to find a previously created note by entering the same text that was used when the note was created.
How it works now:

  • CTRL+SHIFT+J -> Select/Create a note -> Type "My new note"
  • Now let's try to open it. CTRL+SHIFT+J -> Select/Create a note -> Type "My new note". After typing "My " (with space) it will suggest creating a new note.
    Suggestions don't work here because names of notes are normalized in utils
    Maybe it's better not to remove spaces from the filename?

Hmm, not sure if switching of normalization could break the extension for a few users. Probably better to switch it off through a new setting, which then supports your workflow when typing in the name of the existing note.

In the new version, the input will show a list of previous versions with denormalized names. Does this approach match your needs?

Denormalization approach seems to be working