Skip to content

Ruff Native Server spams Ruff encountered a problem. Check the logs for more details. with bad symbols. #482

@theelderbeever

Description

@theelderbeever

This might not be an actual bug however, it is somewhat annoying.... If you use the new native lsp in ruff with vscode and have a bad symbol in your file and save you will get an error pop up in the lower right corner of VSCode for the extension.

image

A simple test

# hello.py
print(some_var) # some_var hasn't been set yet.

Now save the file. Every save triggers the pop up.

While it isn't technically wrong that there is an error its a little overkill to be told to check the extension logs for the error when the typical red underline sufficiently captures the code error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserver

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions