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
Describe the bug
The "LSP: Goto Diagnostic..." and "LSP: Goto Diagnostic in Project..." commands are broken under certain conditions.
To Reproduce
Install LSP-pyright (for example)
In LSP.sublime-settings, set "diagnostics_panel_include_severity_level": 2
Open a file with the following content:
print(x)
deffoo(y):
pass
"LSP: Goto Diagnostic..." and "LSP: Goto Diagnostic in Project..." work as expected
Comment out the first line with the error "x is not defined"
Now, "LSP: Goto Diagnostic..." will just open the command palette, and "LSP: Goto Diagnostic in Project..." will crash Sublime Text (it just closes without error message)
Probably the max_severity restriction for the ListInputHandlers of LspGotoDiagnosticCommand should be dropped, or it needs also to be used for is_enabled.
Environment (please complete the following information):
OS: Windows 11
Sublime Text version: 4126
LSP version: latest
Language servers used: LSP-pyright
The text was updated successfully, but these errors were encountered:
Describe the bug
The "LSP: Goto Diagnostic..." and "LSP: Goto Diagnostic in Project..." commands are broken under certain conditions.
To Reproduce
"diagnostics_panel_include_severity_level": 2
Probably the
max_severity
restriction for the ListInputHandlers of LspGotoDiagnosticCommand should be dropped, or it needs also to be used foris_enabled
.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: