Linux rdm compile_commands.json

Thank you. I can confirm I have successfully set it up and managed to run it successfully using the following command in powershell: & ‘C:\Program Files\Epic Games\UE_4.24\Engine\Binaries\DotNET\UnrealBuildTool.exe’ -mode=GenerateClangDatabase -project=“ProjectName.uproject” ProjectName Development Win64". This basically created a “compile_commands.json” file in “C:\Program Files\Epic Games\UE_4.24”.

I do all development on Vim so I am trying to use the ccls language server (which uses clangd) to be able to read from the generated compile_commands.json file. The core development is done in WSL Linux (Ubuntu 18), and hence it’s required for the file to be translated such that it can be read with Linux paths namely as the output generated by UnityBuildTool is using Windows paths. It seems that just using this open source python function was able to do the job wsl-compile-commands-converter/convert.py at master · Kazhuu/wsl-compile-commands-converter · GitHub

I am currently still getting syntax error highlights in the file, even though the “go-to-reference” shortcuts still work. For example, I get errors for the object inheritance “Super” reference, however if I hit go-to-reference it still takes me to the respective source code. Have you been able to resolve this?