← All features

Run files & main classes

Run the file you are looking at from a gutter ▶: a script, a program or a project's main class, in most of the languages Editora supports. Output, input and clickable stack traces are in the Run console.

A Python script with a gutter ▶, and its output in the Run window below A Python script with a gutter ▶, and its output in the Run window below


A green ▶ in the gutter runs the file you are looking at, with nothing to set up first. It picks the runtime the project asks for, such as its .venv, its .nvmrc or its JDK, and works with language services turned off.

What the ▶ runs

Each language’s page under Languages says exactly what its ▶ runs.

File: Run is C-c r in the Emacs keymap and Ctrl+Shift+B in the VS Code keymap (Cmd+Shift+B on macOS). Run: Rerun Last runs the last file again with the same arguments.

A project’s main class

In a Maven or Gradle project, a ▶ sits beside every public static void main, and Run: Run Main Class… picks any of them. The classpath comes from the Java language server, or from the build tool when the server is not set up.

The Run console

Trace, remote and saved runs

See the Running programs guide.