[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.
[x] If filing a bug report, I have included which OS (including specific OS
version) I am using.
[x] 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
[x] 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.
[x] 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?
Try using YCM in .NET 6.0 project on Linux without mono installed.
Per log:
No mono executable at None
failure is caused by cs_completer.py:72 requiring mono on Linux, despite cs_completer.py:441,443 only requiring mono if roslyn_path ends with .exe.
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:
What did you expect to happen?
Include description of the expected behaviour.
System.String is shown
What actually happened?
Include description of the observed behaviour, including actual output,
screenshots, etc.
ValueError: No semantic completer exists for filetypes: ['cs']
Diagnostic data
Output of vim --version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim"
Run :checkhealth for more info
Output of YcmDebugInfo
Printing YouCompleteMe debug information...
-- Resolve completions: Never
-- Client logfile: /tmp/ycm_8_vtjvb_.log
-- Server Python interpreter: /usr/bin/python3
-- Server Python version: 3.10.12
-- Server has Clang support compiled in: False
-- Clang version: None
-- No extra configuration file found
-- Server running at: http://127.0.0.1:58993
-- Server process ID: 4034667
-- Server logfiles:
-- /tmp/ycmd_58993_stdout_8g29j64y.log
-- /tmp/ycmd_58993_stderr_oyi0l59g.log
-- Semantic highlighting supported: False
-- Virtual text supported: False
-- Popup windows supported: False
Output of YcmDiags
Native filetype completion not supported for current file, cannot force recompilation.
Output of git rev-parse HEAD in YouCompleteMe installation directory
52618aeebf12ca4c8e31c45551d903160e201038
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.
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
Try using YCM in .NET 6.0 project on Linux without mono installed.
Per log:
failure is caused by
cs_completer.py:72
requiring mono on Linux, despitecs_completer.py:441,443
only requiring mono ifroslyn_path
ends with.exe
.--cs-completer
var x = "";
:YcmCompleter GetType
with cursor onx
System.String
is shownValueError: No semantic completer exists for filetypes: ['cs']
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
ycm_8vtjvb.log ycmd_58993_stderr_oyi0l59g.log
OS version, distribution, etc.
Output of build/install commands