← Dolaima← Docs indexCompile, run, and diagnostics原文中文

Compile, run, and diagnostics

Run in place

That toolbar cell changes shape with the file type:

FileThe cell saysTapping it
Compilable source (.c .py ...)▶ RunCompile + link + run; output appears in the bottom panel
Markdown (.md)👁 PreviewRenders tables and headings

If the program needs keyboard input, a send box appears in the bottom panel — type a line and press Return to feed it in.

Stopping

■ Stop lives at the far right of the bottom status bar (just left of the panel-toggle icon) — it only appears while a program is running. If a program will not stop, press Back to leave the window.

Errors are drawn on the code

When compilation fails, the error is marked directly on the offending line:

Bubbles are part of the code: they scroll with it and scale with it, and their position depends only on code coordinates.

⚠ As soon as you touch the code, the previous round of errors is cleared — those line numbers have probably shifted, and leaving them floating over the code would only show you false information.

Status bar

One line at the bottom shows: encoding · read-only/edit · lines · size · caret position. At a glance you can see whether you can edit right now, and where the caret is. While zooming the font it also shows the font size for a few seconds, then hides itself again (it is not kept there permanently, so it does not take up room).

The icon at the far right opens / closes the bottom panel.