mantish/ help / docs
Join the waitlist

Structure view

See a file as its classes and members — what was added, changed or removed — before reading any code.

Last updated

Before reading a large change line by line, it helps to know its shape: which classes it touches, which methods are new, which were removed, which only moved. The structure view shows a file as its classes and members instead of lines, old version on the left and new on the right.

What it looks like

The structure view
The structure view
  • Each member shows what happened to it — added, modified, moved, deleted — how many lines were added, changed and removed, and the tags of its changes.
  • The header counts how many members changed out of the total.
  • Click a member to open its diff right there, in place. The fullscreen button on the row opens it on its own.

Unchanged members

The switch at the top decides what happens to members nobody touched:

ChoiceEffect
Show allEvery member is listed
Collapse unchangedUnchanged members are folded; open them to look inside
Hide unchangedOnly changed members are listed

Whether a folded member opens when you hover it or only when you click it is set by Reveal unchanged in Settings › Structure — Hover (default) or Click.

When to use it

  • Big refactors, where the line diff is long but the story is short: three methods extracted, one class split in two.
  • Unfamiliar files, to see what lives in them before you read the details.
  • Checking the public surface, to spot members that were added or removed.

Where to find it

AppWhere
Desktop appStructure in the file header, or ⌥2. Code (⌥1) takes you back to the line diff
JetBrainsIn development

The structure view works for the languages Mantish can parse — see the list in Install and sign in.

Was this page helpful?