<type>wingtip</type>
<domain>editor</domain>
<id>reformatting</id>
<title>Reformatting</title>
<date>$Date: 2010-05-19 18:06:32 -0400 (Wed, 19 May 2010) $</date>
<version>$Revision: 22155 $</version>
<product>pro+</product>

Wing Pro can use autopep8, Black, Ruff, and YAPF to reformat Python code automatically to
conform with coding standards.  This can be done from the ``Source > Reformatting``
menu, either for the current selection or whole files.

Reformatting can also be configured to occur automatically for edited lines or for whole
files just before they are saved to disk. This is done with the `Editor > Reformatting >
Auto-Reformat <script:show_preferences_gui(prefname="edit.pep8-autoformat">`__ preference.

See `Auto-Reformatting <ref:edit/auto-reformatting>`__ for details.


