Code Editor

Summary

The code editor allows your users to create, edit, rename, and delete files and directories via a lightweight editor.‌

The code editor and directory sidebar.

Features

  • Work with files or directories

  • View images

  • Syntax highlighting

  • Multiple editor modes (none, Sublime, Emacs, and Vim)

Code editor

More information can be found in the project user guide.

Settings

File Actions

When enabled, a user can create, update, delete, and download files. You may want to disable this for beginner content to prevent the user from accidentally breaking their project.

Hidden File Globs

You may want to hide certain files from the user, for example, configuration files they don't need to worry about. Absolute file paths entered into this field (one per line) enables you to do this. By default, all dotfiles (files starting with a . are hidden):

**/.*

Keep in mind that hidden files are still present in the user's project ― they are just not visible in the directory sidebar (or auto opened, if the directory sidebar is disabled).