lukesmurray / linked-notes-vscode

vscode extension for taken Zettelkasten inspired markdown notes.
https://marketplace.visualstudio.com/items?itemName=lukesmurray.linked-notes-vscode
0 stars 0 forks source link

remove coupling between filename and document title #44

Closed lukesmurray closed 4 years ago

lukesmurray commented 4 years ago

The system may be easier to use overall of there is a map from document title to fsPath and vice versa. All document titles would have to be unique! But that is the key for having nice linking anyway!

lukesmurray commented 4 years ago

I started work on this but it really opens up a can of worms. For example the user can create wikilink without creating the underlying file. In that case we need some temporary filename. Since fsPath is used for ids everywhere the temporary filename will be used as an id, and we end up in a situation where the temporary filename is the only reasonable final filename. When we materialize the file we need to update any references to that file which is a hard cache busting problem.