-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing output from lsp-ui-flycheck #160
Comments
Can you post your configuration? I suspect that it might be fixed by calling lsp-ui-flycheck-enable . |
The relevant part of my config looks like this:
Describe-variable on (lsp-ui-sideline--diagnostics-changed lsp-ui-flycheck--report t) The sideline diagnostics pop up, but nothing happens on the Flycheck front. Is this the correct way of calling it? Does it need to be called before flycheck/lsp-mode is launched? |
I also can't get flycheck to work. Like you |
@syvsto For me when i had the hook the way you have it didnt work. :hook ((lsp-mode . lsp-ui-mode))) change it to :init (add-hook 'lsp-mode-hook 'lsp-ui-mode) |
@innerout Thanks, but the issue isn't lsp-ui not launching, but rather the Flycheck checking not working. Anyways, I tried changing the code to what you recommended, and Flycheck still doesn't work with LSP. It's not much of an issue for now, as I've disabled the checker from LSP and am using one of the old checkers available, but it'd be nice to get the LSP generated errors to show up! |
You have forgotten placing this! (add-hook 'rust-mode-hook 'flycheck-mode) You have to hook flycheck mode for every language you need it. That hook i think has to be placed inside lsp-ui. |
I had the hook for flycheck placed inside the rust-mode config. I tried removing it from there and adding it to the lsp-ui config, but alas, no change to flycheck when running with the LSP checker. |
Can you debug the following method - |
@yyoncho |
It looks like some flycheck misconfiguration - when I am using lsp-java and my flycheck is configured properly when I do
|
Is there any progress for this issue with rust? |
@diaevd include your lsp-mode/flycheck/lsp-ui related configuration + content of the Messages buffer with |
Ok, it is working for me only with:
and
i.e. it is clean flycheck rust. In verticaly error always show, in horizontaly not. |
My config:
if i remove flycheck-rust-setup and/or enable lsp-ui-flycheck-enable nothing to work |
@diaevd can you set |
I can't reproduce call stack like in #160 (I don't know how, no errors). Sorry. If i find the cause, i'll let you know P.S. But if you don't touch rls, but the configuration that i provided.
Have a bug with showing errors (not for all) and only if my frames (layouts) splited horizintaly: This layout buggy
That's always ok
:) UPD: |
The reason for this is that the implemented flycheck checker in lsp-ui doesn't create squigglies for some reason. lsp-mode now got a generic checker that will be set the default. |
I'm trying to use lsp-mode with Rust (RLS), and all features seem to be working fine, except the Flycheck integration. Flycheck doesn't present any errors in a buffer that contains errors. The lsp-ui-sideline displays type errors, and running
M-x lsp-ui-flycheck-list
displays my errors, but I get no squigglies, the modeline doesn't update, and the default Flycheck error list (C-c ! l
) doesn't show any errors. According toflycheck-verify-setup
, lsp-ui is the chosen syntax checker, and it seems to be enabled.Flycheck works with other checkers. Has anyone come across something similar?
I'm running Emacs 26.1 on Windows 10.
The text was updated successfully, but these errors were encountered: