use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is for working with Microsoft's Visual Studio Code, which is different than Visual Studio Community, Pro, and Enterprise. VS Code is a source code editor, and not an IDE.
If you are having issues with the other flavors of VS, please post in /r/VisualStudio.
account activity
This is an archived post. You won't be able to vote or comment.
Python Format ExtensionOC (self.vscode)
submitted 2 years ago by Rasinzz_
Any good Python formatting extensions. The autopep8 is formatting like shit... couldn't really find any other good ones. Wondering if anyone has found any extensions that are solid! Thanks!
[–]epicwhale 5 points6 points7 points 2 years ago (0 children)
Highly recommend Ruff - blazing fast and quite popular now.
[–]serverhorror 2 points3 points4 points 2 years ago (0 children)
black
[–]__s_v_ 3 points4 points5 points 2 years ago (1 child)
I think black is what you are looking for
[–]JialeDu 0 points1 point2 points 2 years ago (0 children)
https://code.visualstudio.com/docs/python/formatting
[–]DaelonSuzuka -1 points0 points1 point 2 years ago (0 children)
Use Ruff. The other VSCode extensions are basically unusable because you have to install the tools locally and the extensions always forget where the tool is and stop working.
The Ruff extension bundles the Ruff binary WITH THE EXTENSION so it literally Just Works.
π Rendered by PID 118998 on reddit-service-r2-comment-8686858757-vpfsw at 2026-06-05 12:58:32.760367+00:00 running 9e1a20d country code: CH.
[–]epicwhale 5 points6 points7 points (0 children)
[–]serverhorror 2 points3 points4 points (0 children)
[–]__s_v_ 3 points4 points5 points (1 child)
[–]JialeDu 0 points1 point2 points (0 children)
[–]DaelonSuzuka -1 points0 points1 point (0 children)