I usually centralize my notes with each workspace, to keep related notes inside each project workspace. Each workspace has eg a .note folder.
I tried to use ${workspaceFolder} variable inside unotes.RootPath as ${workspaceFolder}/.note but I had errors as failed to create unotes folder and can't create folder and notes or edit notes.
One of the VisualStudio Code variables is ${workspaceFolder} which is the full root path of the opened project workspace folder. This avoids using a fixed path which causes problems.
So if your projects workspaces are in /DATA/Project and you open Project-1 root folder, using ${workspaceFolder} it is automatically viewed by VS Code as /DATA/Project/Project-1. then if later you need to mount your project to /WORK/ the path is automatically updated using the variable and everything works without any modification of the settings.
Hello,
Thank you for this great extension.
I usually centralize my notes with each workspace, to keep related notes inside each project workspace. Each workspace has eg a
.note
folder.I tried to use
${workspaceFolder}
variable insideunotes.RootPath
as${workspaceFolder}/.note
but I had errors asfailed to create unotes folder
and can't create folder and notes or edit notes. One of the VisualStudio Code variables is${workspaceFolder}
which is the full root path of the opened project workspace folder. This avoids using a fixed path which causes problems.So if your projects workspaces are in
/DATA/Project
and you openProject-1
root folder, using${workspaceFolder}
it is automatically viewed by VS Code as/DATA/Project/Project-1
. then if later you need to mount your project to/WORK/
the path is automatically updated using the variable and everything works without any modification of the settings.It would be really great.
Regards