When running an extension using the vscode-test-web tool, the default workspace is mounted under vscode-test-web://mount/. This trailing / causes issues with the LSP URI converter.
For example:
- The code-to-protocol maps
vscode-test-web://mount/a/file.txt to file:///workspacea/file.txt (rather than file:///workspace/a/file.txt).
- The protocol-to-code converter maps
file:///workspace/a/file.txt to vscode-test-web://mount//a/file.txt (this isn't as serious, though does mean the URL is no longer normalised).
When running an extension using the
vscode-test-webtool, the default workspace is mounted undervscode-test-web://mount/. This trailing/causes issues with the LSP URI converter.For example:
vscode-test-web://mount/a/file.txttofile:///workspacea/file.txt(rather thanfile:///workspace/a/file.txt).file:///workspace/a/file.txttovscode-test-web://mount//a/file.txt(this isn't as serious, though does mean the URL is no longer normalised).