Skip to content

Add cpp_ls as one of the c/c++ language server. #1901

Closed

Description

@CppCXY

repo: https://github.com/CppCXY/cpp_ls

However, I’d like to know: would you recommend that I add a simple installation script, or create a completely new plugin to support this language server?

Activity

  1. angelozerr commented on Nov 9, 2026

    @angelozerr
    Contributor

    @CppCXY here the basic rules to know if it is better to create a new plugin:

    • the ls server requires custom lsp command
    • the ls server doesn't provides the capability to donwload easily (by using for instance gitub releases)

    Otherwise I suggest that you create a user defined ls and you contribute to LSP4IJ, please read https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServerTemplate.md

  2. CppCXY commented on Nov 9, 2026

    @CppCXY
    ContributorAuthor

    It looks like all the conditions are met. Although there is a custom LSP command (switchHeader) similar to the one in clangd, it’s not that important. I’ll find some time to look into it.

  3. angelozerr commented on Nov 10, 2026

    @angelozerr
    Contributor

    @CppCXY I see that you have a release https://github.com/CppCXY/cpp_ls/releases so you can have an installer.json like clojure

    I suggest that you contribute to LSP4IJ with user defined and when you will have a plugin, we could disable it like I did for clojure plugin

    "disablePromotionFor": ["com.github.clojure-lsp"],

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