autopep8 用来改进代码书写格式与风格

ctrl+p 输入> format document

autopep8 与 pylint

 

 第一次使用右下角会提示安装

安装完毕后再次使用即可书写格式化

但是如果想要自动化需要开启设置相关设定,勾选上format on save 每次自动格式化当保存当前文件时(但是有一点如果是经常特殊书写格式的人不建议勾选)

autopep8 与 pylint

 

 

pylint 用来检测代码存在的错误或问题

插件装好就行

相关文章:

  • 2022-12-23
  • 2021-09-01
  • 2021-07-14
  • 2021-08-24
  • 2021-05-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2022-12-23
  • 2021-07-17
  • 2021-09-18
  • 2022-01-06
  • 2022-12-23
相关资源
相似解决方案