VSCode Extension: Unreal Clangd (Now uses Native Intellisense)

Info

  • Now Supports 5.4
  • Tested on Windows 11 and Ubuntu 22.04. Let me know if Mac works!
  • Moved away from using UBT’s mode GenerateClangDataBase.
    • Was overwriting build files causing rebuilds
    • If anyone from Epic sees this (Please create a UBT mode for Intellisense that only creates compile_commands.json, GCD files, and Definitions.gcd.h files :) )

How does it work?

  • Microsoft C++ extension for Building/Debugging
  • Clangd Extension for Fast code completion, formatting, and more!
  • My Unreal Clangd Extension https://github.com/boocs/unreal-clangd
    • The command: Create Unreal Clangd Project creates a clangd project for your Unreal project (creates files and sets all settings)
    • Extension will ask to run Update Compile Commands when you add a source file (can also be run manually)
    • Fixes bugs and adds features
    • Has uninstall command

How fast?

~5 second Intellisense load times when switching to new file on a Intel 12700k

My extension github has a discussion area

https://github.com/boocs/unreal-clangd/discussions