Index: clang-tools-extra/clangd/clients/clangd-vscode/package.json =================================================================== --- clang-tools-extra/clangd/clients/clangd-vscode/package.json +++ clang-tools-extra/clangd/clients/clangd-vscode/package.json @@ -2,7 +2,7 @@ "name": "vscode-clangd", "displayName": "vscode-clangd", "description": "Clang Language Server", - "version": "0.0.18", + "version": "0.0.19", "publisher": "llvm-vs-code-extensions", "homepage": "https://clang.llvm.org/extra/clangd.html", "engines": { Index: clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts =================================================================== --- clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts +++ clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts @@ -124,7 +124,8 @@ handleNotification(params: SemanticHighlightingParams) { const lines: SemanticHighlightingLine[] = params.lines.map( (line) => ({line : line.line, tokens : decodeTokens(line.tokens)})); - this.highlighter.highlight(params.textDocument.uri, lines); + this.highlighter.highlight( + vscode.Uri.parse(params.textDocument.uri).toString(), lines); } // Disposes of all disposable resources used by this object. public dispose() {