在—文件—首選項----設置----搜索“保存”或者“格式化”----用戶區中截圖最下面----在settings.json中編輯
"editor.codeActionsOnSave": { "source.fixAll.eslint": false },改成false
或者
Editor: Format On Save 選項,勾選去掉,不勾選
在保存時格式化文件。格式化程序必須可用,延遲后文件不能保存,並且編輯器不能關閉。
在—文件—首選項----設置----搜索“保存”或者“格式化”----用戶區中截圖最下面----在settings.json中編輯
"editor.codeActionsOnSave": { "source.fixAll.eslint": false },改成false
或者
Editor: Format On Save 選項,勾選去掉,不勾選
在保存時格式化文件。格式化程序必須可用,延遲后文件不能保存,並且編輯器不能關閉。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。