[x] I have searched YCM's issue tracker to find issues similar to the one I'm
about to report and couldn't find an answer to my problem. (Example Google
search.)
[x] If filing a bug report, I have included the output of vim --version.
[x] If filing a bug report, I have included the output of :YcmDebugInfo.
[x] If filing a bug report, I have attached the contents of the logfiles using
the :YcmToggleLogs command.
[ ] If filing a bug report, I have included which OS (including specific OS
version) I am using.
[ ] If filing a bug report, I have included a minimal test case that reproduces
my issue, using vim -Nu /path/to/YCM/vimrc_ycm_minimal, including what I
expected to happen and what actually happened.
[ ] If filing a installation failure report, I have included the entire output
of install.py (or cmake/make/ninja) including its invocation
[ ] I understand this is an open-source project staffed by volunteers and
that any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
[ ] I understand my issue may be closed if it becomes obvious I didn't
actually perform all of these steps.
Thank 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
Provide a clear description of the problem, including the following key
questions:
It can help me auto-complete the opencv, but it still reports error
Include description of a minimal test case, including any actual code required
to reproduce the issue.
If you made changes to vimrc_ycm_minimal, pase them here:
<contents of ycm_vimrc_minimal>
What did you expect to happen?
It should not report error;
Include description of the expected behaviour.
What actually happened?
Although it sucessfully autocomplete my code, but it still report error;
Include description of the observed behaviour, including actual output,
screenshots, etc.
Diagnostic data
Output of vim --version
LuaJIT 2.0.5
Compilation: /usr/local/clang-7.0.0/bin/clang -O2 -g -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/home/travis/build/neovim/bot-ci/build/neovim/build/config -I/home/travis/build/neovim/bot-ci/build/neovim/src -I/home/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/home/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/home/travis/build/neovim/bot-ci/build/neovim/build/include
Compiled by travis@travis-job-d8a0d531-236d-4d4c-9703-9d6e27bee65f
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "
/home/travis/build/neovim/bot-ci/build/neovim/build/nvim.AppDir/usr/share/nvim
"
Run :checkhealth for more info
Output of YcmDebugInfo
Printing YouCompleteMe debug information...
-- Resolve completions: Up front
-- Client logfile: /tmp/ycm_e9d2lu9z.log
-- Server Python interpreter: /usr/bin/python3
-- Server Python version: 3.7.3
-- Server has Clang support compiled in: True
-- Clang version: clang version 11.0.0 (git@github.com:ycm-core/llvm ff1d9b2bb8f62c1924db137b544598b8e974ada8)
-- Extra configuration file found and loaded
-- Extra configuration path: /home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/.ycm_extra_conf.py
-- Python completer debug information:
-- Python interpreter: /usr/bin/python3
-- Python root: /home/cht/PycharmProjects/Spider
-- Python path: ['/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_p
arty/bottle', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/regex-build', '/home/cht/.vim/bundle/YouCompleteMe/third
_party/ycmd/third_party/frozendict', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/jedi', '/home/cht/.vim/
bundle/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/parso', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/re
quests_deps/requests', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests_deps/urllib3/src', '/home/cht/.vim/bun
dle/YouCompleteMe/third_party/ycmd/third_party/requests_deps/chardet', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party
/requests_deps/certifi', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests_deps/idna', '/home/cht/.vim/bundle/Y
ouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/thir
d_party/watchdog_deps/pathtools', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/waitress', '/usr/lib/python37.zip',
'/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/cht/.local/lib/python3.7/site-packages', '/usr/local/lib/python3.7/dist-p
ackages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.7/dist-packages', '/home/cht/.vim/bundle/YouCompleteMe/third_party/ycmd/th
ird_party/jedi_deps/numpydoc']
-- Python version: 3.7.3
-- Jedi version: 0.17.2
-- Parso version: 0.7.1
-- Server running at: http://127.0.0.1:54089
-- Server process ID: 8981
-- Server logfiles:
-- /tmp/ycmd_54089_stdout_4nkg73ol.log
Output of YcmDiags
no warning or error
Output of git rev-parse HEAD in YouCompleteMe installation directory
paste output here
Contents of YCM, ycmd and completion engine logfiles
Reproduce the issue with vim -Nu /path/to/YCM/vimrc_ycm_minimal, which
enabled debug logging and other useful diagnostics. Include a link to a
gist containing all of the log files listed by :YcmToggleLogs.
OS version, distribution, etc.
Include system information here.
deepin V20
Output of build/install commands
Include link to a gist containing the invocation and entire output of
install.py if reporting an installation issue.
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
https://user-images.githubusercontent.com/60290287/103172393-116f6100-488e-11eb-847f-6a10d1594e01.mov
vim -Nu /path/to/YCM/ycm_vimrc_minimal
:edit test.py
.....
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
OS version, distribution, etc.