Stutr

The editor

How to use the Stutr editor: the Code and Editor panes, the run bar, every tool, keyboard shortcuts, zoom and pan, the part panel, menus and settings.

The workspace

The editor has two views of one circuit: Code (the text) and Editor (the canvas). Use the buttons in the top bar to show one at a time as tabs, or side by side in a row or a column. In side-by-side mode, drag the divider to resize. Your choice is remembered.

The menu on the left holds your projects, parts, examples, export, documentation and settings. On a phone or tablet it opens from the menu button.

The Code tab

The Code tab is a small code editor with line numbers. It checks your code as you type: if a line has a problem, the bar underneath shows which line and what is wrong, and the canvas keeps the last working circuit.

  • Suggestions: start typing a part, a name, an output (after a dot) or a setting (inside the brackets) and a list appears under the cursor. Use the up and down arrows to move, Tab or Enter to accept, Esc to close, and Ctrl+Space to open the list on demand.
  • Hint bar: while you write a part, the bar shows its pins, which one you are on, its outputs, and what it does.
  • Tab with no list open indents by two spaces.

See the language guide for everything you can write.

The run bar

ControlWhat it does
Run / PauseStarts and stops every clock in the circuit. It needs at least one clock part.
Speed menuHow fast the clock runs: 1, 2, 5, 10, 20, 50 or 100 Hz.
Fit viewZooms and pans so the whole circuit is visible.
− and +Zoom out and in.
Undo / RedoStep back or forward through your edits.

Tools

Pick a tool from the Parts and tools panel, or press its key. The hint at the bottom of the canvas always tells you what the current tool does.

ToolKeyWhat it does
PokePUse the circuit. Click an input or clock to change it, hold a button, drag a joystick. Drag from one pin to another to draw a wire. Parts can still be dragged.
EditEDrag parts to move them. Delete removes the selection.
SelectSDrag a box around several parts, then move them together or delete them.
EraseXClick a part or a wire to remove it.
TextTClick the canvas to place a text note.
MenuMClick a part for a small menu with Duplicate and Delete.
LabelLClick a part, then type its new name in the panel.

To place any part, pick it from the Parts and tools panel and click the canvas. It stays selected so you can place several. Press Esc to go back to Poke.

Wires

  • Drag from an output pin to an input pin (or the other way round) with the Poke tool.
  • An input takes one wire. Connecting a second wire to the same input replaces the first.
  • An output can feed many inputs. A filled dot marks an output that feeds more than one wire.
  • Wires glow and show a moving pulse when they carry a non-zero value. Thick wires are buses (more than 1 bit).
  • To remove a wire, hold D and click it, or use the Erase tool.
  • Settings let you choose right-angle or straight wires.

The part panel

Click a part (Edit or Poke tool) to open its panel on the right. It shows:

  • Name: edit it to rename the part everywhere.
  • Data bits: the width, 1 to 16.
  • Part-specific fields such as Address bits, Rows, Stages, Contents, Mode or Color.
  • Position and the part's current outputs (or inputs), in hexadecimal. Z means floating.
  • A Delete button. The LED screen also has Open screen.

Select several parts with the Select tool and the panel offers Delete all.

Keyboard and mouse

InputAction
P E S XPoke, Edit, Select, Erase
T M LText, Menu, Label
Hold DErase while held: click a wire or part
DeleteRemove the selection
EscBack to Poke
Ctrl+ZUndo
Ctrl+Y or Ctrl+Shift+ZRedo
Mouse wheelZoom
Drag empty spacePan
Two fingers (touch)Pinch to zoom and drag to pan

Your circuits as parts

Save a circuit in Projects, then open Parts and tools and look under My circuits. Pick one and click the canvas to place it as a single part. Its input and output pins become the part's pins. Change the saved circuit and open the other circuit again to use the new version. See the language guide for how chips look in code.

Using your circuits as parts is part of the Pro plan.

Version history

Every time you save a project with changes, Stutr keeps that version. The last 20 versions of each project are kept. In Projects press History next to a project, then Open this version to load an earlier one. Save again to make it the current version. Version history is part of the Pro plan.

Exporting

ExportWhat you getPlan
Circuit codeThe circuit as text (circuit.stutr.txt).Free
Picture (PNG)An image of the whole canvas, for reports and slides.Pro
NetlistEvery part and every connection as readable text.Pro
VerilogHardware description code for the common parts: pins, gates, multiplexers, adders, comparators, splitters, extenders, flip-flops, registers and counters, plus chips as their own modules. Parts it cannot export are listed in comments at the top and their outputs are left undriven, so check the file before using it.Pro

Open Export from the menu to choose one.

Themes

The default theme is Midnight. Pro adds Terminal (green), Ember (orange) and Violet. Choose one in Settings.

Settings

  • Snap to grid: parts jump to a 20 px grid.
  • Show the grid, pin labels and part names.
  • Theme and wire style: right angles or straight lines.
  • Autosave my circuit: reopens where you left off.
  • Confirm before starting a new circuit.
  • Analytics: off unless you allow it.
  • Export my data as a file, and delete everything you have saved.