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

Format selection with black giving errors. #21938

Closed
leet0rz opened this issue Sep 6, 2023 · 2 comments
Closed

Format selection with black giving errors. #21938

leet0rz opened this issue Sep 6, 2023 · 2 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@leet0rz
Copy link

leet0rz commented Sep 6, 2023

VScode/Black is latest version. It works on save with that regular option but not when I disable on save and try to format selection. I don't really want black to do the entire code, just my selection. But it gives me this error:

0mZ4rdP 1

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 6, 2023
@karthiknadig
Copy link
Member

This feature is not supported because black itself does not support format selection.

@karthiknadig karthiknadig self-assigned this Sep 7, 2023
@luabud
Copy link
Member

luabud commented Dec 14, 2023

Dupe of microsoft/vscode-black-formatter#176

@luabud luabud closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants