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
Please complete these steps and check these boxes (by putting an x inside
the brackets) before filing your issue:
I have read and understood YCM's [CONTRIBUTING][cont] document.
I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
I have read and understood YCM's [README][readme], especially the
[Frequently Asked Questions][faq] section.
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.][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:
When I start a new workspace with cargo, and coding inside, the diagnostic info is not real time, it only works when a file is open, during the coding, the diagnostic info is not updated automatically, even I ran :ycmDiags manually, the info would not change.
What did you do?
Include steps to reproduce here.
cargo new <your project name>
vim src/main.rs
Enter insert mode and type some nonsense inside the main function or your own function
Include description of a minimal test case, including any actual code required
to reproduce the issue.
for example:
I typed a p inside a function, but no diagnostic info displayed
Then I ran `:ycmDiags` , still nothing changed
I closed the current file, and opened it again, diagnostic was there
If you made changes to vimrc_ycm_minimal, pase them here:
<contents of ycm_vimrc_minimal>
What did you expect to happen?
The diagnostic info should be updated/refreshed automatically, at least, when :ycmDiags is ran manually, it should be updated.
Include description of the expected behaviour.
What actually happened?
The diagnostic info only got updated when a file was opened, after that, no matter what changes were made, the diagnostic info wound't change until the file was closed and reopen again.
Include description of the observed behaviour, including actual output,
screenshots, etc.
Printing YouCompleteMe debug information...
-- Resolve completions: Up front
-- Client logfile: /var/folders/0t/9yws28hx1rg576_2nvtwhxjm0000gn/T/ycm_379p09a3.log
-- Server Python interpreter: /usr/local/opt/[email protected]/bin/python3.9
-- Server Python version: 3.9.1
-- Server has Clang support compiled in: True
-- Clang version: clang version 11.0.0 (https://github.com/llvm/llvm-project.git 176249bd6732a8044d457092ed932768724a6f06)
-- No extra configuration file found
-- Rust completer debug information:
-- Rust Language Server running
-- Rust Language Server process ID: 6850
-- Rust Language Server executable: ['/Users/chengcan.he/.vim/bundle/youcompleteme/third_party/ycmd/third_party/rust-analyzer/bin/rust-analyzer']
-- Rust Language Server logfiles:
-- /var/folders/0t/9yws28hx1rg576_2nvtwhxjm0000gn/T/rust_language_server_stderrml9abgcr.log
-- Rust Language Server Server State: Initialized
-- Rust Language Server Project Directory: /Users/chengcan.he/rust_prog/practice
-- Rust Language Server Settings: {}
-- Rust Language Server Project State: ready
-- Rust Language Server Version: 0d03fe6
-- Rust Language Server Rust Root: /Users/chengcan.he/.vim/bundle/youcompleteme/third_party/ycmd/third_party/rust-analyzer
-- Server running at: http://127.0.0.1:62521
-- Server process ID: 6845
-- Server logfiles:
-- /var/folders/0t/9yws28hx1rg576_2nvtwhxjm0000gn/T/ycmd_62521_stdout_n7zfw261.log
-- /var/folders/0t/9yws28hx1rg576_2nvtwhxjm0000gn/T/ycmd_62521_stderr_uzo8riur.log
Output of YcmDiags
Paste output here
Output of git rev-parse HEAD in YouCompleteMe installation directory
ed423e8a1d2a5842a126d33b824ad3b65f85f3ba
OS version, distribution, etc.
Include system information here.
macOs big sur, 11.2.3
The text was updated successfully, but these errors were encountered:
binaryoak
changed the title
[bug][rust][real time diagnostics] the diagnostic is only real time
[bug][rust][real time diagnostics] the diagnostic is not real time
Apr 1, 2021
Uh oh!
There was an error while loading. Please reload this page.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
[Frequently Asked Questions][faq] section.
about to report and couldn't find an answer to my problem. ([Example Google
search.][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
cargo new <your project name>
vim src/main.rs

Then I ran `:ycmDiags` , still nothing changed
I closed the current file, and opened it again, diagnostic was thereThe diagnostic info should be updated/refreshed automatically, at least, when
:ycmDiags
is ran manually, it should be updated.The diagnostic info only got updated when a file was opened, after that, no matter what changes were made, the diagnostic info wound't change until the file was closed and reopen again.
Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Output of
YcmDiags
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryOS version, distribution, etc.
The text was updated successfully, but these errors were encountered: