Skip to content
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

Autoformatting request is broken #536

Closed
Kein opened this issue Mar 21, 2024 · 1 comment
Closed

Autoformatting request is broken #536

Kein opened this issue Mar 21, 2024 · 1 comment
Labels
triage-needed Issue is not triaged.

Comments

@Kein
Copy link

Kein commented Mar 21, 2024

This exist but it does absolutely nothing:
image
image

I've went through all the extension outputs but there isnt even an indication action was dispatched.
I've tried using external pylint as well

Pylint extension: 2023.11.13481007
Python interp: 3.9.0
Python extension: 2024.3.10791010

@github-actions github-actions bot added the triage-needed Issue is not triaged. label Mar 21, 2024
@karthiknadig
Copy link
Member

@Kein You need to install Formatting extension, and set it as the default formatter. The command there does not know if such an extension is installed or not, it will just ask VS Code to use run a formatter.

Install black, autopep8, ruff, or which ever formatter extension you want to use. Add the following to your settings:

 "[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter" // Use ruff or autopep8 extension ID here depending on which one you have installed.
    },

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Issue is not triaged.
Projects
None yet
Development

No branches or pull requests

2 participants