Hi, I did not find the answer for this question online.
Is there a way to use YouCompleteMe in Vim autocompletion with Unreal Engines C++ code?
Maybe adding exceptions to errors, or something like that?
Alternativly I could also use another autocompletion plugin that would work with Unreal Engine.
I was able to fix those problems and make it work with YouCompleteMe.
If someone is interested in how I made it work he can ask me anywhere and I will reply.
I’m just curious how you fixed it. Did run you UHT to generate the files? Besides, do you use Linux/Mac or Windows? I’m using Linux and just trying to make ycm work correctly now. Would you mind sharing your ycm_extra_conf file?
You will have to uncomment a lot of lines and change them depending on your own system and so on.
I forgot how I managed to get the flags, but I think I generated a clion project with unreal engine > added this to the cmake file:
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
after that I corrected the backslashes with forward slahes > tryed to generate the project (it failed) > and used the flags from the generated compile_commands.json
Maybe you already know what to do, maybe you will have some questions, if so feel free to ask.