Automatically reformat Python code in Visual Studio
https://learn.microsoft.com/en-us/visualstudio/python/formatting-python-code?view=vs-2022
OverviewChoose a formatterApply format to selection or file You can set your source code formatter through Tools > Options > Text Editor > Python > Form…Python support in Visual Studio also adds the Fill Comment Paragraph command to the Edit > Advanced menu as described in a later section.
You can set your source code formatter through Tools > Options > Text Editor > Python > Form…Python support in Visual Studio also adds the Fill Comment Paragraph command to the Edit > Advanced menu as described in a later section.
DA: 89 PA: 98 MOZ Rank: 12