[cfe-dev] Newcomer to Clangd

Ilya Biryukov via cfe-dev cfe-dev at lists.llvm.org
Mon May 29 09:33:18 PDT 2017


+krasimir, who has been working on adding clangd support to ycmd.

There's currently no easy way to install clangd even into VSCode and no way
to use clangd with vim/Emacs.
So it's not surprising that we don't have any bugs for it, there aren't
many users.
It would be really nice to have releases of clangd binary and plugins for
major text editors.
So having an Emacs integration would be really great at that point.

The VSCode plugin is under
http://llvm.org/svn/llvm-project/clang-tools-extra/trunk/clangd/clients/.
Putting your Emacs code there seems like a good idea.

Looking at the tests might be helpful to get started, they show exactly the
input/expected output of running clangd:
http://llvm.org/svn/llvm-project/clang-tools-extra/trunk/test/clangd/
The whole functionality we already have is covered there. (One major
missing feature is 'goto declaration/definition'.)

If you need any help in setting up/compiling clangd, or if you have any
questions about the code, let us know.


On Mon, May 29, 2017 at 2:00 PM, Manuel Klimek <klimek at google.com> wrote:

> +a couple of people working on clangd
>
>
> On Fri, May 26, 2017 at 9:53 PM André Jansen Medeiros Villar via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> As per https://bugs.llvm.org/show_bug.cgi?id=33135 it doesn't look like
>> there's an official bug list.
>>
>> A simple search at llvm bugzilla: https://bugs.llvm.
>> org/buglist.cgi?quicksearch=clangd
>>
>> An intro to llvm codebase: https://blog.regehr.org/archives/1453
>>
>> An intro to llvm itself: http://www.aosabook.org/en/llvm.html
>>
>> 2017-05-21 16:47 GMT-03:00 Paul Smith via cfe-dev <cfe-dev at lists.llvm.org
>> >:
>>
>>> On Sun, 2017-05-21 at 18:22 +0200, Daniel Martín wrote:
>>> > I think Clangd, which is based on a well-documented protocol that is
>>> > gaining traction across the industry, is the way to go.
>>>
>>> Sorry I wasn't clear: I in no way meant to discourage this effort.  I
>>> was just pointing to existing efforts that might serve as a base to
>>> start with rather than starting from scratch... but it looks like you're
>>> aware of them already so never mind!
>>>
>>> Any improvement in Emacs support for C++ (in particular) programming is
>>> extremely welcome!
>>> _______________________________________________
>>> cfe-dev mailing list
>>> cfe-dev at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>


-- 
Regards,
Ilya Biryukov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170529/f8fec346/attachment.html>


More information about the cfe-dev mailing list