Skip to content

Commit a4b3c8b

Browse files
Add code formatter keybind (Acode-Foundation#1511)
* code formatter keybind Fixes Acode-Foundation#1509 * chore: format
1 parent 59ec7d4 commit a4b3c8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib/keyBindings.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,13 @@ export default {
430430
readOnly: true,
431431
editorOnly: true,
432432
},
433+
formatcode: {
434+
description: "Format Code",
435+
key: "Ctrl-Alt-F",
436+
readOnly: false,
437+
editorOnly: true,
438+
action: "format",
439+
},
433440
replaymacro: {
434441
description: "Replay macro",
435442
key: "Ctrl-Shift-E",

0 commit comments

Comments
 (0)