Python communicating with clangd in a non-blocking way
Question:
I’m implementing a plugin for one of my hobby projects and basically I want to use an LSP for highlightning code put on a website.
In my case, I want to use clangd to gather information about pre-written C and C++ code. The problem I’m facing is how to exactly communicate with clangd – I have trouble sending and receiving JSONs over piped stdin and stdout.
The biggest problems are:
- the protocol has no strict delimeters like
I’m implementing a plugin for one of my hobby projects and basically I want to use an LSP for highlightning code put on a website.
In my case, I want to use clangd to gather information about pre-written C and C++ code. The problem I’m facing is how to exactly communicate with clangd – I have trouble sending and receiving JSONs over piped stdin and stdout.
The biggest problems are:
- the protocol has no strict delimeters like