Skip to content

Python indentation: decrease indent when appropriate keyword is typed

Ilia Kats requested to merge (removed):python_dedent into master

When a keyword such as else, elif, except, finally is typed, the indentation level of the current line is decreased. To minimize false-positives, indentation is only decreased if the previous non-empty line has the same indentation level as the current line. I've been using this for the past weeks without any problems.

Merge request reports

Loading