pajoma / vscode-journal

Lightweight journal and simple notes support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pajoma.vscode-journal
GNU General Public License v3.0
233 stars 40 forks source link

New notes using absolute paths instead of relative paths #70

Closed cult-leader closed 3 years ago

cult-leader commented 3 years ago

When I create a new journal note, the link to it is an absolute path (e.g., /home/cultleader/Documents/journal/2020/12/23/test_note.md) as opposed to a relative path (./23/test_note.md). In the previous versions of the extension it used relative paths. Using absolute paths makes it difficult to move the journal to a different system--and the markdown preview in VSCode doesn't work with absolute paths it seems.

Is this intended behavior? Is there any way to get it back to using relative paths?

pajoma commented 3 years ago

No, this was not intended. I am looking into it, thanks.

sandrogauci commented 3 years ago

also facing this issue. Downgrading to v0.10.0 does not exhibit this bug

pajoma commented 3 years ago

This is related to the scopes configuration (which drags on for a while). The normalization doesn't seem to work as expected, I am working on it.