About YCM Completing Default Private Class Members

15 views
Skip to first unread message

elliot xu

unread,
Jan 17, 2022, 11:32:18 PM1/17/22
to ycm-users
Hi there,

I have a slight problem with YCM on unreal engine, or let's just say C++ projects. Everything works pretty GOOOD except for one thing. 

YCM seems to be leaving out all the default (or private) scoped member variables in the engine source code. I know that private members are meant not to be referenced. But is there any way I can get around this and to show private or default scope variables (and functions...) in the completion list?

A lot of times unreal engine source code just define C++ class static members with the default scope so they won't be picked up by the completer.

Thanks a lot for your time.

elliot xu

unread,
Jan 18, 2022, 8:24:30 AM1/18/22
to ycm-users
Problem solved. Using clangd with '--include-ineligible-results' did the trick.
Reply all
Reply to author
Forward
0 new messages