-
Notifications
You must be signed in to change notification settings - Fork 182
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
feat: add option to disable/enable diagnostics in hover #2489
Conversation
was not working after addition of setting 'show diagnostics in hover'
Hello, The new setting should also be added to https://github.com/sublimelsp/LSP/blob/main/sublime-package.json |
LSP has goto next/previous diagnostics command: Line 147 in cd7cb68
Line 141 in cd7cb68
Currently, when we navigate to a diagnostics, the hover popup is shown with only diagnostics. Line 265 in cd7cb68
I'm on a phone now, I would suggest still showing the diagnostics in the hover popup |
I have near zero python experience, and I dont have much idea of this codebase. Turn down this pr if not suitable and the issue can be closed now as It is working for me at least. |
Its my first pr so i m not very aware of workflow. It is requested to take over or guide me about 'suggested change'/ any other thing. |
The PR is good, just needs some additional things. It is ok if you don't know the codebase, Fell free just to push additional commits.(There is no need to close and open a new PR) If you have additional questions, feel free to ask. |
I tested 'next/prev diagnostics', seems like you were right about it. It is not working. It feels intutive have this working. But on the other hand someone turning off 'diagnostics' in hover should know about it. I'll try to figure out a way for turning 'diagnostics' off for hover only, not for 'next/prev diagnostics'. |
added a new commit that seems resolving 'lsp prev/next diagnostics cmd' not working and added suggested changes and added entry in 'sublime-package.json'. It is requested to review updated changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Thank you for the PR |
fixes issue #2381