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
"There is no formatter for 'python' files installed." #460
Comments
Have you tried setting the following in your {
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
}
} |
No, but is such a setting necessary to use ruff as a Python formatter? |
I don't believe so, but I've also never run into the message you're seeing above once I've installed the extension. I also just verified that if I uninstall the extension, I see that message; and if I then install it and run "Format Document", the document formats and I see no such message. Anything other info you can provide? It seems like an issue with the VS Code setup rather than the extension specifically. |
Ok I just created a
I'm working in a dev container with the ruff extension installed in the container. I'm running on aarch64-darwin. Here is my |
Same issue here: Ubuntu 22.04, used to work before, not sure what changed. Here's the traceback:
|
Never mind. Mine was a strange one, I was working in a VS Code workspace with two folders, just removed one (AutoEIS, which is |
I have just installed the extension and reloaded my VSCode window. However, when attempted
Cmd+P => Format document
, I'm now faced with an error modal dialog:The text was updated successfully, but these errors were encountered: