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
fix: add C/C++ Makefile project support, prefer source over header
- Detect C/C++ projects without CMakeLists.txt or compile_commands.json
by scanning for .c/.cpp/.cc/.cxx files in root and src/ (has_c_files)
- Ensure every detected language gets an LSP workspace slot even when
find_package_roots() returns nothing (add_missing_language_roots);
this unblocks find refs, read symbol, and check on Makefile projects
- Prefer source file definitions over header declarations in both the
cache path (cached_read_symbol) and LSP path (resolve_symbol_location)
so read symbol returns the full body, not a single-line declaration
Validated against Open-PS2-Loader (pure C, Makefile-only, 308 files,
8581 symbols): all commands work correctly with clangd.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments