Checking Indentation

Index of All Documentation » Wing Pro Reference Manual » Source Code Editor » Indentation »

Wing Pro and Wing Personal analyze existing indentation whenever it opens a Python source file, and will indicate a potentially problematic mix of indentation styles, allowing you to attempt to repair the file. Files can be inspected more closely or repaired at any time using the Indentation Manager.

To turn off indentation warnings in Python files, use the Show Python Indent Warnings preference.

Wing also indicates suspiciously mismatched indentation in source code by underlining the indent area of the relevant lines in red or yellow. In this case, an error or warning message is displayed when the mouse hovers over the flagged area of code.