|
@@ -1,23 +1,31 @@
|
|
-
|
|
|
|
# File Editor
|
|
# File Editor
|
|
|
|
|
|
-The File Editor in JupyterLab enables you to edit text files in JupyterLab:
|
|
|
|
|
|
+The file editor in JupyterLab enables you to edit text files in JupyterLab:
|
|
|
|
|
|
[screenshot]
|
|
[screenshot]
|
|
|
|
|
|
-The File Editor includes syntax highlighting, configurable indentation (tabs,
|
|
|
|
|
|
+The file editor includes syntax highlighting, configurable indentation (tabs or
|
|
spaces), different key maps (vim, emacs, Sublime Text) and basic theming. These
|
|
spaces), different key maps (vim, emacs, Sublime Text) and basic theming. These
|
|
settings can be found in the Settings menu:
|
|
settings can be found in the Settings menu:
|
|
|
|
|
|
[screenshot]
|
|
[screenshot]
|
|
|
|
|
|
-To edit an existing text file, double-click on the file in the File Browser or
|
|
|
|
-drag it into the Dock Panel:
|
|
|
|
|
|
+To edit an existing text file, double-click on its name in the file browser or
|
|
|
|
+drag it into the main area:
|
|
|
|
|
|
[animation]
|
|
[animation]
|
|
|
|
|
|
-To create a new text file in the current directory of the File Browser, click
|
|
|
|
-the + button at the top of the File Browser and click the “Text Editor” card in
|
|
|
|
|
|
+To create a new text file in the current directory of the file browser, click
|
|
|
|
+the `+` button at the top of the file browser to create a new Launcher tab, and click the “Text Editor” card in
|
|
the Launcher:
|
|
the Launcher:
|
|
|
|
|
|
[animation]
|
|
[animation]
|
|
|
|
+
|
|
|
|
+You can also create a new text file with the File menu:
|
|
|
|
+
|
|
|
|
+[animation]
|
|
|
|
+
|
|
|
|
+A new file is created with a default name. Rename a file by right-clicking on
|
|
|
|
+its name in the file browser and selecting “Rename” from the context menu:
|
|
|
|
+
|
|
|
|
+[animation]
|