[llvm-bugs] [Bug 41084] New: [clangd] [Language Server Protocol] Please send 'textDocument/publishDiagnostics' message for identical text

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 15 06:52:59 PDT 2019


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

            Bug ID: 41084
           Summary: [clangd] [Language Server Protocol] Please send
                    'textDocument/publishDiagnostics' message for
                    identical text
           Product: clang
           Version: 7.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eran.ifrah at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Atm, (using clangd 7 on Windows 64 bit), clangd does not reply with LSP message
'textDocument/publishDiagnostics' for 'textDocument/didOpen' message when the
input is the same.

The only thing it does is writing a message to stderr 'Skipping rebuild of the
AST for... input is the same'

Sending  'textDocument/publishDiagnostics' will keep the client side logic more
clean as atm, I need to capture the stderr and parse the output to seek for
these type of messages

-- 
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/20190315/b196c154/attachment-0001.html>


More information about the llvm-bugs mailing list