PyCharm 2.7.2 Web Help
Changing Indentation
Previous
|
Next
|
See Also
|
Shortcuts:
Win/Nix
Mac
|
Comments
|
Get Printable
PyCharm makes it possible to:
Indent or unindent
text. This action applies to a selection, or to a line at caret.
Choose
tabs or spaces
for indentation. This action applies to a selection, or the whole current file in the active editor.
To change indentation of a text fragment, do one of the following
On the main menu, choose
Edit | Indent Selection
/
Edit | Unindent Selection
.
Press
Tab
Tab
/
Shift+Tab
Shift+Tab
.
To toggle between tabs and spaces
On the main menu, choose
Edit | Convert Indents
, and then choose
To Spaces
or
To Tabs
respectively.
See Also
Getting Started:
Selecting Text in the Editor
Web Resources:
Knowledge Base