Browse Source

Add context menu for create console.

Brian E. Granger 8 years ago
parent
commit
3d70fb87e1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fileeditor-extension/src/index.ts

+ 2 - 0
packages/fileeditor-extension/src/index.ts

@@ -289,5 +289,7 @@ function activate(app: JupyterLab, registry: IDocumentRegistry, restorer: ILayou
     });
   }
 
+  app.contextMenu.addItem({command: CommandIDs.createConsole, selector: '.jp-FileEditor'});
+
   return tracker;
 }