How to reformat and indent Python code
h
PaoloAmoroso (71)

In a Python REPL, suppose I edit some code in a file and break the canonical indentation. Is there an editor command to reformat and indent the code? I've the command palette but haven't found anything relevant.

You are viewing a single comment. View All
Answered by malvoliothegood (148) [earned 5 cycles]
View Answer
PaoloAmoroso (71)

@malvoliothegood So it looks like Repl.it doesn't provide a reformat option. Thanks anyway.