C++ IntelliSense for Unreal Engine 5 projects in VS Code, powered by clangd.
- A thin TypeScript extension drives UnrealBuildTool to generate
compile_commands.json, watches build files for changes, and manages the clangd language server lifecycle. - A bundled
.clangdtemplate ships sensible UE5 defaults: MSVC flag fixups, common diagnostic suppressions, and inlay hints tuned for engine code. - The extension uses stock clangd — install it from LLVM, no custom build required.
- Windows 10/11 (v1 only)
- Unreal Engine 5.x (installed via Epic Games Launcher or source build)
- Visual Studio 2022 (MSVC toolchain) — required by UnrealBuildTool
- VS Code 1.85+
- clangd 17+ — install via
winget install LLVM.LLVMor download from LLVM releases
- Install clangd (see Requirements above).
- Install this extension from the VS Code Marketplace.
- Open a
.uprojectfolder in VS Code. - The extension auto-discovers your UE installation, runs UBT to generate
compile_commands.json, deploys a default.clangdto the workspace, and starts clangd. - First-open indexes the engine — this takes several minutes and is cached by
clangd in
.cache/clangd/for subsequent opens.
- Go to definition / Find references across the full UE codebase
- Code completion, signature help, hover documentation
- Diagnostics with sensible UE-specific suppressions out of the box
- Inlay hints (parameter names, deduced types)
- Rename across modules
- Auto-regeneration of
compile_commands.jsonwhen.Build.cs/.Target.cs/.uproject/.upluginfiles change - Status bar showing indexing progress and server state
- Commands: Restart Server, Regenerate Compile Commands, Clear clangd Index, Show Index Status, Run UHT, Switch Build Target
See docs/building.md.
See docs/architecture.md.
See CONTRIBUTING.md.
Apache-2.0 — see LICENSE.