且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

美化保存在VS代码中?

更新时间:2023-11-24 16:52:28

For Windows click on 'File' -> Preferences -> Settings. Then search for editor.formatOnSave, and put "true" instead of "false"

For Mac click on 'Code' (top left of screen, to the left of 'File', 'Edit', and 'View') -> Preferences -> Settings -> enter the term 'editor.formatOnSave' in the search settings box at the top of the page. Click on the tick to mark it as true.