Browse Source

Add captions

Dave Willmer 9 years ago
parent
commit
691a669b5d
2 changed files with 3 additions and 0 deletions
  1. 2 0
      src/fileopener/plugin.ts
  2. 1 0
      src/terminal/plugin.ts

+ 2 - 0
src/fileopener/plugin.ts

@@ -54,6 +54,7 @@ function resolve(container: Container): Promise<void> {
       let newTextFileCommand = new SimpleCommand({
         category: 'File Operations',
         text: 'New Text File',
+        caption: 'Create a new text file',
         handler: () => {
           browser.newUntitled('file', '.txt').then(
             contents => opener.open(contents.path)
@@ -88,6 +89,7 @@ function resolve(container: Container): Promise<void> {
       let newNotebookCommand = new SimpleCommand({
         category: 'File Operations',
         text: 'New Notebook',
+        caption: 'Create a new Jupyter Notebook',
         handler: () => {
           browser.newUntitled('notebook').then(
             contents => opener.open(contents.path)

+ 1 - 0
src/terminal/plugin.ts

@@ -35,6 +35,7 @@ function resolve(container: Container): Promise<void> {
       let newTerminalCommand = new SimpleCommand({
         category: 'Terminal',
         text: 'New Terminal',
+        caption: 'Start a new terminal session',
         handler: () => {
           let term = new TerminalWidget();
           term.color = 'black';