Browse Source

Force shift tab to indent less

Steven Silvester 7 năm trước cách đây
mục cha
commit
9cd5ddb3a6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/codemirror/src/factory.ts

+ 1 - 0
packages/codemirror/src/factory.ts

@@ -38,6 +38,7 @@ class CodeMirrorEditorFactory implements IEditorFactoryService {
       ...CodeMirrorEditor.defaultConfig,
       extraKeys: {
         'Tab': 'indentMoreOrinsertTab',
+        'Shift-Tab': 'indentLess',
         'Shift-Enter': () => { /* no-op */ }
       },
       lineNumbers: true,