vscode: point IntelliSense at clang instead of MSVC #564
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!564
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/564/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@psnwd on GitHub · 2026-09-11 16:46 UTC · original
psnwd:chore/vscode-intellisense-clang→main· +6 −4 · 1 files · 2 commits · merged 2026-09-17 07:38 UTCKYTY_SYSV_ABI expands to attribute((sysv_abi)) with no MSVC fallback, which is correct for a project that rejects cl.exe at configure time. Nothing told the C/C++ extension that, so it fell back to windows-msvc-x64 and flagged every guest-facing function in the tree with "attribute is not a type name".
Set the IntelliSense mode, compiler path and C++ standard to match the compiler the build actually uses, and export a compile database for it to read.
Summary by CodeRabbit
@Nmzik on GitHub · 2026-09-13 08:30 UTC · original
@psnwd all good except you hardcoded the path to VS
@coderabbitai[bot] on GitHub · 2026-09-13 12:56 UTC · original · edited 2026-09-13 13:02 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Advanced
Run ID:
ff0c8bdb-d6b6-4364-a8ec-13904e593b2b📥 Commits
Reviewing files that changed from the base of the PR and between
2e315a3c62and3fd23a688f.📒 Files selected for processing (1)
.vscode/settings.jsonIncluded review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough
The VS Code CMake settings now use the Visual Studio developer environment and configure C/C++ IntelliSense for
windows-clang-x64,compile_commands.json, andc++20.Changes
Windows CMake and IntelliSense configuration
.vscode/settings.jsonPATHoverride is removed. C/C++ IntelliSense now useswindows-clang-x64,compile_commands.json, andc++20.Priority: ⬇️ Low
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
3fd23The updated VS Code settings align IntelliSense and CMake with the documented Windows clang-cl workflow. No merge-blocking risk remains.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.