默認(rèn)快捷鍵是
shift+alt+f
我改成了別的快捷鍵涝涤,如何改呢降瞳?
打開鍵位設(shè)置文件痊班,在前面位置添加
{
"key": "ctrl+你喜歡的鍵位",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
即可
默認(rèn)快捷鍵是
shift+alt+f
我改成了別的快捷鍵涝涤,如何改呢降瞳?
打開鍵位設(shè)置文件痊班,在前面位置添加
{
"key": "ctrl+你喜歡的鍵位",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
即可