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
It's fairly annoying to get toast notifs when you have a syntax error in the code. I think we should probably silently log in this particular case since we "refuse" to format in the presence of parse errors - it's not really an error case, it's an expected case with known behavior.
It's fairly annoying to get toast notifs when you have a syntax error in the code. I think we should probably silently log in this particular case since we "refuse" to format in the presence of parse errors - it's not really an error case, it's an expected case with known behavior.
For example, ruff special cases syntax/parse errors as logged warnings, but not LSP Errors
https://github.com/astral-sh/ruff/blob/82c01aa6623b7d4df1e4f06cb2889059f287336f/crates/ruff_server/src/format.rs#L24-L28
The text was updated successfully, but these errors were encountered: