[llvm-bugs] [Bug 44739] New: clangd-vscode: Incorrect Comment Syntax Highlighting Misapplied on Edit

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 31 11:04:39 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44739

            Bug ID: 44739
           Summary: clangd-vscode: Incorrect Comment Syntax Highlighting
                    Misapplied on Edit
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: christophersauer at pacbell.net
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 23077
  --> https://bugs.llvm.org/attachment.cgi?id=23077&action=edit
Image showing syntax highlighting bug

This is a bug for the clangd-vscode plugin
(http://llvm.org/svn/llvm-project/clang-tools-extra/trunk/clangd/clients/clangd-vscode/).

All the syntax highlighting is fine on first reload, but gets misapplied to
comments when they are inserted and the file is reprocessed. The comments seem
to take on the highlighting of the code line that was previously in their
place. (See attached screenshot.)

On my machine, this reproduces every time in every file. (Latest VSCode,
plugin, macOS, and clangd release.)

Otherwise, thank you all for an exceptional plugin!

-Chris

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200131/99205fc1/attachment.html>


More information about the llvm-bugs mailing list