[Question] how to config it to support pnpm link and file protocol
tjx666 opened this issue · comments
余腾靖 commented
Mihai Ionut Vilcu commented
You can try something like this:
"path-autocomplete.transformations": [
{
"type": "inputReplace",
"parameters": ["^link:", "", "g"],
"when": {
"path": "link:.*"
}
}
]
余腾靖 commented
Works fine, thanks @mihai-vlc
"path-autocomplete.transformations": [
{
"type": "inputReplace",
"parameters": ["^(link|file):", "", "g"],
"when": {
"path": "^(link|file):.*"
}
}
],