MaskRay / ccls

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Apache License 2.0
3.77k stars 259 forks source link

any plans for LSP 3.16 compliant call hierarchy? #828

Open damnskippy opened 3 years ago

damnskippy commented 3 years ago

ccls currently supports call hierarchy (and inheritance & member hierarchies). If I'm not mistaken the API/implementation is different from call hierarchy APIs as specified in the LSP spec v3.16 - one reason perhaps is that ccls implementation was done way before the 3.16 spec came out, I'm guessing. Question is will the call hierarchy implementation in ccls be made compatible with the 3.16 spec as LSP clients start implementing according to the spec? I wonder if so, how that will affect the member/inheritance hierarchies. Quite grateful for having all 3 of them available as I use them quite a bit, or for that matter, ccls in general, thank you.

pidgeon777 commented 3 years ago

I'm also interested. New LSP protocol for call hierarchies should be implemented instead, in my opinion.

damnskippy commented 3 years ago

Potentially same as https://github.com/MaskRay/ccls/issues/818

pidgeon777 commented 1 year ago

Hello, any update? LSP 3.16 is widely adopted by most common clients now.