patleeman / VSNotes

Simple VS Code extension for plain text note taking.
https://marketplace.visualstudio.com/items?itemName=patricklee.vsnotes
MIT License
174 stars 34 forks source link

Bug: default note path with ~ is not resolved properly on Linux #74

Closed 1u0 closed 4 years ago

1u0 commented 4 years ago

The description of the Default Note Path config option says:

Path to directory to save notes. Use ~/ to denote a relative path from home folder.

I have configured the option to something like ~/Documents/notes.

When I run VSNotes: Open Note Folder command, I get an error dialog with The path '/~/Documents/notes' does not seem to exist anymore on disk. message.

Expected behavior: the extension should resolve the configured path properly (to something like /home/iam/Documents/notes).

Current workaround: the configured path needs to be absolute.