multilspy icon indicating copy to clipboard operation
multilspy copied to clipboard

C++ Support?

Open imanewman opened this issue 1 year ago • 7 comments

I love the work that has been done on this repo, its been a huge time savings on a project I am working on!

Following the recent support added for JS/TS parsing by the community, I was wondering if anyone has implemented support for C++ parsing? If not I'll likely need to add that support myself in the coming months, but wanted to check with the community first before investing time into that.

imanewman avatar Dec 12 '24 20:12 imanewman

C++ support would be great to add! The following are some of the language servers I had in mind for C/C++:

  • https://github.com/MaskRay/ccls
  • https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clangd

Could anyone with experience with either of these language servers chime in?

LakshyAAAgrawal avatar Dec 12 '24 22:12 LakshyAAAgrawal

Dear @yz-qiang and @imanewman ,

I found a fork of monitors4codegen (parent repository of multilspy) that adds support for both ccls and clangd: https://github.com/IIKris/monitors4codegen.

You can please have a look at the above and determine if it works for your usecase.

With permission from the original authors (@IIKris and @arabich), I would also be glad to work with you all to integrate both ccls and clangd support in multilspy!

LakshyAAAgrawal avatar Dec 16 '24 09:12 LakshyAAAgrawal

This is awesome. I probably wont get to diving in deeper on this until the new year, but ill keep you posted if I get a working fork up for C++ support!

imanewman avatar Dec 16 '24 22:12 imanewman

Looking forward to it! Feel free to post any details at any point that I could help with.

LakshyAAAgrawal avatar Dec 22 '24 07:12 LakshyAAAgrawal

Dear @imanewman , Wondering if you had a chance to look into this. I am excited about potentially supporting C/C++ in multilspy, and would be glad to help you in implementing support any way I can!

LakshyAAAgrawal avatar Feb 21 '25 03:02 LakshyAAAgrawal

Hey @LakshyAAAgrawal, My priorities were shifted around a bit so I don't yet have time to look into this until possibly next month or into next quarter. But I'll keep you updated on if/when I start a fork!

imanewman avatar Feb 21 '25 22:02 imanewman

What does someone have to do to get multilspy working with clangd? I have both installed in my system; not sure how to proceed. I would rather not include a big ball of other dependencies.

jason-sachs avatar May 02 '25 18:05 jason-sachs