Home » Support » Index of All Documentation » Wing IDE Reference Manual » Source Code Editor » Indentation »

4.9.3. Auto-Indent

The IDE ships with auto-indent turned on. This causes leading white space to be added to each newly created line, as return or enter are pressed. Enough white space is inserted to match the indentation level of the previous line, possibly adding or removing a level of indentation if this is indicated by context in the source (such as if, while, or return).

Note that if preference Auto-indent is turned off, auto-indent does not occur until the tab key is pressed.

« 4.9.2. Indentation PolicyTable of Contents4.9.4. The Tab Key »