-1

Autopep8 not working in vscode. I have made the right settings. Please take a look of the pictures down below. The python code was not auto formatted when i press ctrl +s.

enter image description here

enter image description here

enter image description here

enter image description here

bingru
  • 51
  • 3
  • https://meta.stackoverflow.com/a/285557/11107541, https://code.visualstudio.com/docs/getstarted/settings#_settingsjson. Please also show a [mre] for the code before and after invoking formatting, and show actual and expected behaviour. – starball Aug 30 '23 at 18:36
  • I have added a picture of my code after i saved the code. The formatting didn't work. – bingru Aug 31 '23 at 06:16
  • I already linked you to https://meta.stackoverflow.com/a/285557/11107541. did you not read it? And I asked for three things (before, actual after, expected after)- you only gave one (actual after). – starball Aug 31 '23 at 06:26
  • The vs setting guide didn't help. I have read before i post this question. I added one images bc the autopep8 didn't work. Before = After. The expected ...... Actually No worries. You have a good day. – bingru Aug 31 '23 at 10:57
  • no. I'm trying to tell you that you can and should show your settings as text instead of an image. And you can and should show your code as text instead of an image. – starball Aug 31 '23 at 17:16

0 Answers0