Skip to content

Running Code

Running a .lm File

There are several ways to run a .lm file:

Keyboard Shortcut

With a .lm file open, press Cmd+Shift+R (macOS) or Ctrl+Shift+R (Windows/Linux).

Play Button

Click the play button (▶) in the editor title bar when a .lm file is open.

Right-Click Menu

Right-click a .lm file in the explorer and select Lamia: Run Current File.

Code Lens

A Run link appears at the top of every .lm file. Click it to execute.

Configuration

CLI Path

By default, Lamia Studio uses lamia from your PATH. To use a specific binary:

  1. Open Settings (Cmd+, / Ctrl+,)
  2. Search for lamia.cliPath
  3. Set the full path to your Lamia CLI executable if you want to change it