Skip to content

VSCode extension for formatting Python code with black.

License

Notifications You must be signed in to change notification settings

smmiri/vscode-black

 
 

Repository files navigation

VSCode Extension for black

GitHub Visual Studio Marketplace Installs Visual Studio Marketplace Version

VSCode extension for formatting Python code with black. Maybe better, maybe not...

Install Now

If you like this extension, consider staring!

GitHub Repo stars

Consider using Composite Formatter to run multiple formatters at once as a single formatter.

Extension Settings

Name Description Type Default
black-py.useIntegratedTerminal Whether to use integrated terminal instead of hidden terminal. (Not recommended) boolean false
black-py.settings.line-length How many characters per line to allow. number 88
black-py.settings.target-version Python versions that should be supported by Black's output. string -
black-py.settings.skip-string-normalization Don't normalize string quotes or prefixes. boolean false
black-py.settings.skip-magic-trailing-comma Don't use trailing commas as a reason to split lines. boolean false
black-py.settings.preview Enable potentially disruptive style changes that may be added to Black's main functionality in the next major release. boolean false

About

VSCode extension for formatting Python code with black.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.0%
  • Shell 7.0%