Smart Keys settings: Python
Use this settings page to configure typing assistance features in Python.
For more information about Python support in IntelliJ IDEA, see Python language support.
Item | Description |
---|---|
Smart indent pasted lines | With this option selected (by default), IntelliJ IDEA respects the PEP8 indent when you insert a code fragment. |
Use parentheses instead of backslashes for breaking lines | With this option selected (by default), IntelliJ IDEA wraps the current expression in parentheses to keep integrity of the statement when you press Enter and split it. |
Insert 'self' when defining a method | With this option selected (by default), IntelliJ IDEA adds |
Insert type placeholders in the documentation comment stub. | With this option selected, IntelliJ IDEA creates a placeholder to enter the type in the documentation comments. The placeholder is added for all docstring formats but Plain. |