![]() ![]() In menubar navigate to Project -> Project Properties -> Options. If you want to just reformat for a specific project and not intervene with Wing IDE Set Reformatter from PEP8 (default) to Black. Set Auto-Reformat from disable (default) to Line after edit or In menubar navigate to Edit -> Preferences -> Editor -> Reformatting. If you want Wing IDE to always reformat with black for every project, follow these Project Properties for per-project or workspace specific settings, as explained in Wing IDE supports black via Preference Settings for system wide settings and Uncheck “Trigger the watcher on external changes” Uncheck “Auto-save edited files to trigger the watcher” Go to Preferences or Settings -> Tools -> File Watchers and click to add a new In this case the path to black is $PyInterpreterDirectory$/black. Note that if you are using a virtual environment detected by P圜harm, this is an %LocalAppData% \Programs \Python \Python36-32 \Scripts \black.exe # possible location
0 Comments
Leave a Reply. |