Hi,
I think this effort is quite interesting. I'll get involved at some level. I was thinking one way forward could be to use LSP4E and make it spawn "clangd" when using the generic editor. This should be a quick way to start iterating. For now, in terms of
user visible functionality, there is only "textDocument/formatting" and rangeFormatting implemented on the server side but not on the client side.
One thing I've been wondering is what is going to be used in terms of "index", something suitable for fast, cross-file navigation. As I understand, this functionality doesn't come with libclang. Something to discusss on cfe-dev.
There is also plenty of things that would need to be added to the LSP for feature parity, in time.
Marc-André
Hey gang,
I wanted to bring to your attention something new happening in the LLVM Clang project. A group of developers there are working on a language server implementation based on clang. This fits into a lot of other languages that are being added to Eclipse with
Microsoft’s relatively new Language Server Protocol.
This is an interesting new direction a few of us have been considering for the CDT. There’s some great work going on now in the CDT to improve our language services and I don’t expect this new work with clang to be at feature parity for quite a while,
but it does give us an opportunity to hook into a bigger pool of open source developers if a large group of IDE developers jump on board (and we’ve already seen interest from Qt Creator and Eclipse Che devs, and the work seems to be initially targeted at VS.Code).
I’m interested in what people think of this.
Doug.