84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
Prompter FehlerValueError: Still no compile flags, no completions yet
ValueError: Still no compile flags, no completions yet
光阴似箭催人老,日月如移越少年。
你是在什么编辑器上安装vim插件?
在vimrc里面配置下Extra conf试试。如果你用vundle,那就是:let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
如果你用Vim-Plug,那就是:let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
将 .ycm_extra_conf.py 文件放到 ~/ 目录下即可,当然 @S1ngS1ng 的方法也是可以的。
.ycm_extra_conf.py
~/
用YCM-Generator生成.ycm_extra_conf.py文件放到你打开vim的目录或者在vimrc里面制定默认路径
你是在什么编辑器上安装vim插件?
在vimrc里面配置下Extra conf试试。
如果你用vundle,那就是:
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
如果你用Vim-Plug,那就是:
let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
将
.ycm_extra_conf.py
文件放到~/
目录下即可,当然 @S1ngS1ng 的方法也是可以的。用YCM-Generator生成.ycm_extra_conf.py文件放到你打开vim的目录或者在vimrc里面制定默认路径