You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support C++ header file extensions (.hpp, .hh, .hxx, .h++) in LSP language detection #12660
C++ projects commonly use header file extensions like .hpp, .hh, .hxx, and .h++ in addition to the standard .h extension. These are already supported by the clangd LSP server and clang-format formatter, but they're not currently mapped in the LSP language detection system.
Solution
Map these additional C++ header file extensions to the cpp language type in LANGUAGE_EXTENSIONS so they receive proper syntax highlighting and LSP support.
While these aren't exact duplicates, they represent related challenges in improving C++ language support and file extension detection in OpenCode. You may find context useful when implementing this feature.
Activity
github-actions commentedon Feb 8, 2026
This issue is related to several existing issues around C++ and LSP support:
While these aren't exact duplicates, they represent related challenges in improving C++ language support and file extension detection in OpenCode. You may find context useful when implementing this feature.
github-actions commentedon Apr 10, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.