How to exclude files from “format on save” in VSCode?

前端 未结 3 1195
逝去的感伤
逝去的感伤 2020-11-30 23:20

Currently in VSCode settings you can configure format on save as following:

\"editor.formatOnSave\": true
         


        
3条回答
  •  囚心锁ツ
    2020-11-30 23:41

    On Mac & Linux, use Ctrl + K S

    On Windows, use Ctrl + K Ctrl + Shift + S

    To check the VS Code keyboard shortcuts:Ctrl + K, Ctrl + S (yes, almost the same as the above) and search for "save without formatting"

提交回复
热议问题