Absolute path to workspace with backslash is not working
anhq-nguyen opened this issue · comments
Anh Nguyen commented
I'm using VSC on windows. When I use \
and .\
, the extension only suggest relative files and folders
Mihai Ionut Vilcu commented
Can you please share the configurations that you have for the "path-autocomplete.pathMappings"
?
Anh Nguyen commented
I don't have any configure for anything. I've just tried it out
Mihai Ionut Vilcu commented
You should be able to change the location of the absolute path as follows:
To setup the root at disk root
"path-autocomplete.pathMappings": {
"$root": "/"
},
To setup the root as the current workspace:
"path-autocomplete.pathMappings": {
"$root": "${workspace}/"
},
Please close the issue if this works for you.
Anh Nguyen commented
Thank you, that worked