Closed JoeAndMark closed 2 months ago
That's odd. I can't repro at all and this really should not happen.
If you have clang
available, try compiling your file with clang.
Please share your extra conf file
I think it's not working.
Clangd Compilation Command: False
Please share your extra conf file
I think it's not working.
Clangd Compilation Command: False
I have added my .ycm_extra_conf.py
, you can inspect it at the following URL:
That's odd. I can't repro at all and this really should not happen. If you have
clang
available, try compiling your file with clang.
The YCM what I use is compiled with --clangd-completer
, so I just recompiled it with '--clang-completer'. I add the output to my gist, you can inspect it at the following URL:
But the interesting thing is that the error still exists, I have no idea about it.
Some other information you may want to know:
clang
version
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clangd
version
clangd version 10.0.0-4ubuntu1
Local YCM repository status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Your extr conf file is broken using extremely legacy FlagsForFile method
Please see then documentation for how to correctly configure clangd.
Your extr conf file is broken using extremely legacy FlagsForFile method
Please see then documentation for how to correctly configure clangd.
It't unbelievable that I forgot this, thanks for your patience and guidance. Best regards.
That's odd. I can't repro at all and this really should not happen. If you have
clang
available, try compiling your file with clang.
I think I find the solution to my problem, thanks for you patience and guidance. Best regards.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
What did you do?
touch object.h
vim object.h
Description
Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Output of
YcmDiags
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
My gist is here.
OS version, distribution, etc.
Output of build/install commands