<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - clangd-vscode: Incorrect Comment Syntax Highlighting Misapplied on Edit"
   href="https://bugs.llvm.org/show_bug.cgi?id=44739">44739</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clangd-vscode: Incorrect Comment Syntax Highlighting Misapplied on Edit
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christophersauer@pacbell.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23077" name="attach_23077" title="Image showing syntax highlighting bug">attachment 23077</a> <a href="attachment.cgi?id=23077&action=edit" title="Image showing syntax highlighting bug">[details]</a></span>
Image showing syntax highlighting bug

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

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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>