Browse Source

Force shift tab to indent less

Steven Silvester 7 years ago
parent
commit
9cd5ddb3a6
1 changed files with 1 additions and 0 deletions
  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,
       ...CodeMirrorEditor.defaultConfig,
       extraKeys: {
       extraKeys: {
         'Tab': 'indentMoreOrinsertTab',
         'Tab': 'indentMoreOrinsertTab',
+        'Shift-Tab': 'indentLess',
         'Shift-Enter': () => { /* no-op */ }
         'Shift-Enter': () => { /* no-op */ }
       },
       },
       lineNumbers: true,
       lineNumbers: true,