1.在Settings->Code Style->Python里先将indent设置为4。 2.在工程区选中要修改的文件,点Code->Reformat Code,就可以了。 补充pycharm快捷操作:.
確定! 回上一頁