소스 검색

Add context menu for create console.

Brian E. Granger 8 년 전
부모
커밋
3d70fb87e1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }