You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running code-web locally like so: ./scripts/code-web.sh /home/sandersn/src/test --coi
I have a tsserver that uses @vscode/sync-api-client for its filesystem; @vscode/sync-api-service then uses vscode-test-web for commands like stat, which calls into fsExtensionMain.getStats when code-web is passed a local folder.
The problem is that when passed a Uri with path: "node_modules/@types/node, it calls toString() on that uri, which produces "node_modules/%40types/node". This path is not found on the filesystem. When toString(/*skipEncoding*/ true) is used instead the path is not escaped, and is correctly found on the filesystem.
This might be a limitation of the filesystem provided by @vscode/sync-api-service, but I don't think so. Tagging @jrieken in case he can contribute.
The text was updated successfully, but these errors were encountered:
sandersn
added a commit
to sandersn/vscode-test-web
that referenced
this issue
Oct 18, 2022
I'm running code-web locally like so:
./scripts/code-web.sh /home/sandersn/src/test --coi
I have a tsserver that uses
@vscode/sync-api-client
for its filesystem;@vscode/sync-api-service
then uses vscode-test-web for commands likestat
, which calls intofsExtensionMain.getStats
when code-web is passed a local folder.The problem is that when passed a Uri with
path: "node_modules/@types/node
, it callstoString()
on that uri, which produces"node_modules/%40types/node"
. This path is not found on the filesystem. WhentoString(/*skipEncoding*/ true)
is used instead the path is not escaped, and is correctly found on the filesystem.This might be a limitation of the filesystem provided by
@vscode/sync-api-service
, but I don't think so. Tagging @jrieken in case he can contribute.The text was updated successfully, but these errors were encountered: