浏览代码

Fix comment.

Ian Rose 7 年之前
父节点
当前提交
1892b58517
共有 1 个文件被更改,包括 2 次插入1 次删除
  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',