-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
wrong code action is shown, instead of that for cursor location #27
Comments
I think this is the feature from the upstream lsp-ui? By seeing the code lsp-ui-sideline.el#L85-L93 here; try set the variable |
thanks for the response! It seems this is not the issue, for the following two reasons: |
turns out this is indeed upstream. not lsp-ui, but generally an lsp-mode issue. |
Sorry for the off-topic but how do you enable showing actions as in the screenshot? In my case, it just shows the diagnostic message and the only way to find actions is to click on the lightbulb on the toolbar. Yet in both cases it shows actions for both errors on the same line. |
Hi, you use lsp-ui, I have:
'(lsp-ui-doc-enable nil)
'(lsp-ui-sideline-show-code-actions t)
'(lsp-ui-sideline-wait-for-all-symbols nil)
happy to provide further detail if needed, E
…On Mon, Apr 18, 2022 at 2:28 PM Vadim Zaliva ***@***.***> wrote:
Sorry for the off-topic but how do you enable showing actions as in the
screenshot? In my case, it just shows the diagnostic message and the only
way to find actions is to click on the lightbulb on the toolbar. Yet in
both cases it shows actions for both errors on the same line.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@eli-tziperman thanks. I've set the variables you mentioned, but yet it does not show actions. Here is a screenshot: Here is my .emacs: https://github.com/vzaliva/scripts_and_configs/blob/master/configs/.emacs I appreciate any help. |
@eli-tziperman yes, of course. lsp-ui is installed. |
see attached screen shot. when there is a paragraph with a few errors, placing the cursor on one of them shows a code action relevant to another error.
The text was updated successfully, but these errors were encountered: