PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Tabs and Indents

Last modified: 19 July 2022

File | Settings | Editor | Code Style | SQL | <SQL Dialect> | Tabs and Indents for Windows and Linux

PyCharm | Preferences | Editor | Code Style | SQL | <SQL Dialect> | Tabs and Indents for macOS

Ctrl+Alt+S the Settings/Preferences icon

Configure code style for indents, TAB and SPACE characters.

Refer to Reformat and rearrange code for more details on auto-formatting code in PyCharm.