LSP URI converter generate invalid paths when workspace URI has a trailing `/`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript, vscode
- Domain
- tooling
Research direction
Start by reproducing the LSP URI converter cases described for the vscode-test-web workspace URI vscode-test-web://mount/. Trace both code-to-protocol and protocol-to-code conversions, then verify that workspace paths retain the separator and URLs remain normalized for the examples in the issue.
Written by the indexing model from the issue text.
Description
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.txttofile:///workspacea/file.txt(rather thanfile:///workspace/a/file.txt). - The protocol-to-code converter maps
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).
- Dominant language
- TypeScript
- Stars
- 456
- Forks
- 42
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-wasm
-
WasiProcess.run() never settles when instantiate fails or _start traps (e.g. missing fd_fdstat_set_rights import)Possibly taken @dbaeumer claimed this 23 days ago. Open
microsoft/vscode-wasm#303 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoft/vscode-wasm#249 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
microsoft/vscode-wasm#244 · 2 reactions ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/vscode-wasm#240 ·
Maintainers usually reply within 1 day
-
feature-request
Difficulty 5/5 Over a week Newbie friendliness 28/100
microsoft/vscode-wasm#235 ·
Maintainers usually reply within 1 day
All issues in microsoft/vscode-wasm
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
marmelab/react-admin#11431 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
db-ux-design-system/core-web#8655 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
stripe/react-stripe-js#728 ·
-
[Upload Grade C dataset] the pop-up changes it's size while uploading the document => Jumping effectOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
epam/statgpt-admin-frontend#305 ·
Maintainers usually reply within 1 day