You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
If filing a bug report, I have included the output of vim --version.
If filing a bug report, I have included the output of :YcmDebugInfo.
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:
What did you do?
I touch two file with name a.c and b.c as below:
┗─╼[/tmp/abc]
▸ /usr/bin/cat a.c
int abc()
{
}
┏─╼[redl|openSUSE]╾─╼[07:42:05]╾─╼[0]
┗─╼[/tmp/abc]
▸ /usr/bin/cat b.c
extern int abc();
int main
{
abc();
}
Include steps to reproduce here.
I open b.c with vim
I triger to jump abc defination with \jd
I couldn't jump to abc function defnation in a.c file but just go to extern int abc(); line
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?
I want to achive jump to the function defined in another source fule.
What actually happened?
Include description of the observed behaviour, including actual output,
screenshots, etc.
Diagnostic data
Output of vim --version
▸ vim --version
VIM - Vi IMproved 9.1 (2024 Jan 02) Included patches: 1-330
Output of YcmDebugInfo
Printing YouCompleteMe debug information... -- Resolve completions: Up front
-- Client logfile: /tmp/ycm_roo7lu42.log -- Server Python interpreter: /usr/bin/python3.10
-- Server Python version: 3.10.14
-- Server has Clang support compiled in: False
-- Clang version: None
-- Extra configuration file found and loaded
-- Extra configuration path: /home/redl/.vim/plugged/youcompleteme/third_party/ycmd/.ycm_extra_conf.py
-- Server running at: http://127.0.0.1:47787 -- Server process ID: 23164
-- Server logfiles:
-- /tmp/ycmd_47787_stdout_is5tb3fb.log
-- /tmp/ycmd_47787_stderr_clin_a34.log
-- Semantic highlighting supported: True
-- Virtual text supported: True
-- Popup windows supported: True
Output of YcmDiags
0 b.c|5 col 1 error| Main cannot be declared as global variable [main_global_variable] 1 b.c|7 col 7 error| Unexpected ';' before '}' (fix available) [unexpected_semi]
2 b.c|9 col 1 error| Expected ';' after top level declarator (fix available) [invalid_token_after_toplevel_declarator]
Output of git rev-parse HEAD in YouCompleteMe installation directory
b6e8c64d96b02d60b3751d6a51af7dc958054f8f
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.
Output of build/install commands
Include link to a gist containing the invocation and entire output of install.py if reporting an installation issue.
The text was updated successfully, but these errors were encountered:
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
Frequently Asked Questions section.
about to report and couldn't find an answer to my problem. (Example Google
search.)
vim --version
.:YcmDebugInfo
.the
:YcmToggleLogs
command.version) I am using.
my issue, using
vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what Iexpected to happen and what actually happened.
of
install.py
(orcmake
/make
/ninja
) including its invocationthat 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.
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
I touch two file with name a.c and b.c as below:
extern int abc();
lineI want to achive jump to the function defined in another source fule.
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.
Output of build/install commands
The text was updated successfully, but these errors were encountered: