How to work with clangd? #92
Replies: 2 comments 2 replies
-
Hi, @CherryPetale !
|
Beta Was this translation helpful? Give feedback.
-
@mkslanc Thanks for the reply. I decided to verify it once with monaco editor to identify the problem since you say it works fine. Then it worked fine in monaco editor. This was not necessary in monaco editor, but is this process required? |
Beta Was this translation helpful? Give feedback.
-
I would like to use clangd to get intellisense of C, but I am not sure how to implement it, so I would like to ask a few questions.
console error
I got somewhat close to completion, but when I finally called the following
languageProvider.format();
, an error occurred. This may not be all that clear, but do you have any idea what it is?ace-linters/packages/demo/websockets-lsp/client.ts
Lines 33 to 41 in 953b3ff
support for
stdio
I don't think ace-linters currently support
stdio
, so I had to convert the clangd input/output to web socket.I searched and found a similar question on stackoverflow and followed the answers on this site to set up a server using
jsonrpc-ws-proxy.
The connection seems to be working, but I am not sure if this approach is really correct.
Do you plan to support
stdio
?official support for clangd
I would like to see official support for the clangd. Is there a possibility?
PS: These texts are translated. Please note that this is poor English.
Beta Was this translation helpful? Give feedback.
All reactions