file_editor.rst 938 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. _file_editor:
  2. File Editor
  3. -----------
  4. The file editor in JupyterLab enables you to edit text files in
  5. JupyterLab:
  6. [screenshot]
  7. The file editor includes syntax highlighting, configurable indentation
  8. (tabs or spaces), different key maps (vim, emacs, Sublime Text) and
  9. basic theming. These settings can be found in the Settings menu:
  10. [screenshot]
  11. To edit an existing text file, double-click on its name in the file
  12. browser or drag it into the main area:
  13. [animation]
  14. To create a new text file in the current directory of the file browser,
  15. click the ``+`` button at the top of the file browser to create a new
  16. Launcher tab, and click the “Text Editor” card in the Launcher:
  17. [animation]
  18. You can also create a new text file with the File menu:
  19. [animation]
  20. A new file is created with a default name. Rename a file by
  21. right-clicking on its name in the file browser and selecting “Rename”
  22. from the context menu:
  23. [animation]