I was wondering if anyone configured YouCompleteMe plugin for working with UE4?
I am using this plugin for the first time, so I don’t know how to configure it.
My current .ycm_extra_conf,py is the default one without flags for Mac.
With this setup i get errors for UE4 classes, macros, headers…(showed in pictures)
I would appreciate if anyone can tell me how to configurate YouCompleteMe or suggest other plugins for (Neo)vim that would do this job insted of ycm.
Well, found a way to start (neo)vim from UE4, but I got a job soon after, so didn’t really put too much time in ycm. Using find I located directory which contains basic classes so I assume that listing it in .ycm_extra_conf,py would do the job with detecting classes(haven’t tested) but don’t expect it to solve everything. You will have to test it or find someone who knows what he’s doing
And also, there are other autocompletion plugins which may be better for UE4. I am really new to all of this, and on top of that I postponed learning UE4 because of job, so unless someone offers solution here, this post is useless.
Maybe it is useful to you. It parses the Visual Studio Project file to extract include directories and symbols, but made libclang (and YcmServer) crash on certain files.
It has been a while since I last tried this though. May be resolved in newer YCM/clang versions.