Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Supporting C/C++ language server: cquery #367

Open

Description

@artisdom

There's a new C/C++ language server: cquery, which works quite well with VSCode.
Just wondering the compatibility status between jucipp and cquery, or other language servers.

Activity

  1. eidheim commented on Feb 23, 2018

    @eidheim
    Member

    We do support language servers through a general language protocol client implementation. See features in README.md for instructions. But keep in mind that the language server protocol is relatively new, and the protocol itself has specification that needs improvements. Additionally, the language servers can be buggy, one reason being a too broad and overly complex specification in the language server protocol.

    With regards to cquery, and language servers in general, they are more resource hungry than our implementation that uses libclang directly for minimal overhead. Also, we only parse the files that are needed to reduce the resource use. Then there are also the many workarounds and stability issues that we have worked hard to fix. But I saw that initially cquery was based on our libclangmm library, and surely they have made use of some of our experience and implementations related to libclang. Which is a good thing, although I would like to see them creating separate libraries for some of their work so it also can be reused more easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions