Is there an easy way to control indents in Python
wuwei23 at gmail.com
Wed Oct 15 09:27:37 CEST 2014
On 15/10/2014 12:23 PM, Juan Christian wrote:
> Using PyCharm is easy:
> File > Settings > (IDE Settings) Editor > Smart Keys > Reformat on paste
> > choose "Reformat Block"
This isn't as straight forward as you imply. Say I have misindented code
If I select this block in PyCharm and reformat it, I get:
Which is still invalid. Even if it did work more fully, though, how
would it determine the correct placement of the last line of code?
More information about the Python-list