openbmc code auto-completion

John Wang wangzqbj at inspur.com
Fri Dec 21 00:16:45 AEDT 2018


Hi,All

I am a vimer. There is a ycm_extra_conf file for ycm(auto-completion)
for openbmc-cpp-project,I want to share.I don't know where this file
should be uploaded,just put it here
https://github.com/inspur-bmc/common-dotfiles/blob/master/ycm_extra_conf.py.

How to use it:
devtool modify phosphor-led-sysfs
cd workspace/sources/phosphor-led-sysfs/
cp ycm_extra_conf.py  ./.ycm_extra_conf.py

vim xxx.cpp

As a c++ beginner,I feel that auto-completion can make me write code
more happily.This ycm_extra_conf file is simple ,if someone can tell
me a better way for yocto(openbmc) auto-completion,I would be
grateful.

Thanks

-John


More information about the openbmc mailing list