I've tried to use:
"rootPath": "c:\\Users\\${env:USERNAME}\\Documents\\Projects\\xyz",
But the variable isn't replaced. The variable is based on this article: https://code.visualstudio.com/docs/editor/variables-reference
Hi @thomasfrobieter ,
The extension does not support those variables. Those are available only for Debugging and Tasks (VS Code native operations).
If you want your _home folder_, you could use $home instead. This is a special variable that I created in the extension, exactly for this 馃榾 . Its use is described here.
{
"name": "Bookmarks",
"rootPath": "$home\\Documents\\GitHub\\vscode-bookmarks",
"paths": [],
"group": "",
"enabled": true
}
Use a special variable called
$homewhile defining anypath. It will be replaced by the HOME folder.
Hope this helps
Most helpful comment
Hi @thomasfrobieter ,
The extension does not support those variables. Those are available only for Debugging and Tasks (VS Code native operations).
If you want your _home folder_, you could use
$homeinstead. This is a special variable that I created in the extension, exactly for this 馃榾 . Its use is described here.Hope this helps