Files
vscode/extensions/html-language-features
Jade Ferreira VieiraandGitHub e145e083f0 Fix file URL to path conversion in html-language-features esbuild script (#328557)
import.meta.resolve(...).replace('file://', '') is not a correct way
to convert a file:// URL to a filesystem path. It always breaks on
Windows (leaves a leading slash before the drive letter, e.g.
/C:/Users/..., which downstream path.join/fs calls mangle into
C:\C:\Users\...), and it also breaks on any OS whenever the resolved
path contains a character that gets percent-encoded in a URL, most
commonly a space (e.g. file:///home/jane%20doe/... never gets decoded
back to "jane doe", so fs.readFileSync fails with ENOENT there too).

Use fileURLToPath() from node:url instead, which is Node's own
built-in, spec-correct URL-to-path converter and handles both cases.
2026-08-19 18:11:17 +00:00
..

Language Features for HTML

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

See HTML in Visual Studio Code to learn about the features of this extension.

Please read the CONTRIBUTING.md file to learn how to contribute to this extension.