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

Doc: how to use blue with vscode? #95

Open
maphew opened this issue Apr 29, 2023 · 1 comment
Open

Doc: how to use blue with vscode? #95

maphew opened this issue Apr 29, 2023 · 1 comment

Comments

@maphew
Copy link

maphew commented Apr 29, 2023

How to use blue with Visual Studio Code?

I see one closed ticket with vscode asking for it to be added as an extension, however it should be simple to use or adapt the existing black formatter to use blue instead, yes? Maybe it's only a documentation change.

@maphew
Copy link
Author

maphew commented Apr 29, 2023

Draft

  1. Install blue e.g. pipx install blue

Within vscode:

  1. Install Black Formatter extension (ctrl-shift-x >> black formatter >> install)
  2. Configure extension (click gear cog)
  3. Change "Black formatter path" setting to where blue executable is. On Windows if installed with hatch it will be in %userprofile%\.local\bin\blue.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant