Auto code formating

I am developing django application. However, the editor will automatically format the code in wrong way when I save the file. Anyone know how can I prevent the auto formatting ?

attached is the screenshot before and after save the file

1 Like

Hey @simonlin0604,

Do you have any kind of extension for automatic formatting? You can also disable formatting in the settings. Here is an article on the topic: VSCode for Django Development in 2024.

1 Like