volarjs / vscode-typescript-web

Fully TypeScript Support for Vue + Svelte + Angular + MDX on Web IDE
https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-web
MIT License
45 stars 3 forks source link

Simplify file path display #3

Closed johnsoncodehk closed 3 weeks ago

johnsoncodehk commented 1 year ago

Currently file path includes the full information of the uri, which besides being redundant, causes typescript to try to execute fs requests from directories that don't even exist.

螢幕截圖 2023-06-30 下午8 06 40
johnsoncodehk commented 3 weeks ago

This should be resolved in createUriConverter. If the scheme and authority of the parsed URI are the same as the root folder, the scheme and authority are hidden in fileName.