VSCode settings save code formatting

Table of contents

1. Open the settings

 2. Enter quick to modify

 3. Click on setting.json to edit


1. Open the settings

 2. Enter quick to modify

You can quickly find the relevant options under the text editor, remove the check, and change it to the same as the following

 3. Click on setting.json to edit

 Modify the configuration file:

"editor.formatOnPaste": true,
"editor.formatOnSave": true

 Reference: https://www.csdn.net/tags/Mtjagg3sOTk3OTgtYmxvZwO0O0OO0O0O.html

Guess you like

Origin blog.csdn.net/weixin_46474921/article/details/126726683