Skip to content

clangd LSP always fails #9521

Closed
Closed

Description

@scarf005

Description

clangd sometimes reports bogus STL include errors (e.g. <string> not found) even when a project provides a CMake-generated compile_commands.json (often via a symlink).

Plugins

No response

OpenCode version

1.1.26

Steps to reproduce

  1. open C++ project
  2. ask agent to work on an issue
  3. when agents tries to use clangd LSP, they get an bogus error messages like missing std::string

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 20, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions