-
Notifications
You must be signed in to change notification settings - Fork 185
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
Automatically hide the diagnostics panel on save #2037
Conversation
I don't think we need another option for this (well, unless someone inevitably complains at least) but I would still tie this functionality to the |
417f457
to
a0f8d63
Compare
Right, forgot that detail. Now if the |
a0f8d63
to
6563d3e
Compare
I'm getting pretty far out of my comfort zone here, but I managed to get something working. I'm absolutely not sure this fixes the multiple-servers scenario you mentioned though. Not sure about the change_count checking either, I copied what the |
6563d3e
to
e5a36d0
Compare
e5a36d0
to
a96e326
Compare
* main: Add support for triggerKind in code action requests (sublimelsp#2042) Custom context menu in log panel and "Clear log panel" item (sublimelsp#2045) Add icons and isPreferred support for code actions (sublimelsp#2040) Cut 1.18.0
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.
Anyone else wants to review?
👀 will give it a look |
* main: Add group argument for LspGotoCommand (#2031) Add context menu entry in log panel for toggling lines limit (#2047) Automatically hide the diagnostics panel on save (#2037) Add support for triggerKind in code action requests (#2042) Custom context menu in log panel and "Clear log panel" item (#2045) Add icons and isPreferred support for code actions (#2040)
This PR extends the "show diagnostics panel on save" feature, and hides the panel if the diagnostics level is higher than the
show_diagnostics_panel_on_save
setting.I took the easy route and and made this the default behaviour, but maybe a better way to do this would be to implement a new option, e.g.
close_diagnostics_panel_on_save
.I'm no Python or ST3 plugin expert, so I'm not 100% sure this is the correct way of doing this.
Fixes #1904