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: unassignedclangb...@nondot.org
          Reporter: eran.if...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to