Ian Rose 7 vuotta sitten
vanhempi
commit
1892b58517
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      packages/fileeditor-extension/src/index.ts

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

@@ -372,7 +372,7 @@ function activate(app: JupyterLab, editorServices: IEditorServices, browserFacto
     });
   }
 
-  // Add a launcher item if the launcher is available.
+  // Add a command for creating a new text file.
   commands.addCommand(CommandIDs.createNew, {
     label: 'New File',
     caption: 'Create a new text file',
@@ -382,6 +382,7 @@ function activate(app: JupyterLab, editorServices: IEditorServices, browserFacto
     }
   });
 
+  // Add a launcher item if the launcher is available.
   if (launcher) {
     launcher.add({
       displayName: 'Text Editor',