microsoft / microsoft/vscode-black-formatter

Support for `--check` and report as problem if a file needs formatting

Open
#164 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request needs PR
Dominant language
Python
Stars
196
Forks
49
Avg merge
1d 5h
Merged PRs (30d)
7

Description

Hello all !
First of all thank you for this extension, the tool is cool !

I would like to know if it is possible to see if an open .py file has to be formatted with black, in the "Problems" tab on vscode ? Like isort, pylint etc do ?

Simple question, I search for this response and was not able to find a good answer, so I decided to post here.

Thanks !

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the extension's existing Black formatting entry point and its VS Code diagnostics integration; determine how an open .py file can be checked without rewriting it. Done means files needing Black formatting appear as problems in the Problems tab, with tests covering the reported diagnostics.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vscode
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.