Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

A tour of the window

Ettin Edit draws its whole window itself, so it looks the same on Linux and Windows and follows the colours of the theme you pick.

Ettin Edit with a JSON file open and the JSON tree panel beside it

The Welcome tab

The first time Ettin Edit starts, it opens a Welcome tab: what the editor is for, the four things to try first (Transform, the command palette, recipes and Filter Through Command), and what's new in this version. Click a card to open it.

The Welcome tab: Welcome to Ettin Edit, cards for Transform, Command palette (F1), Recipes (Ctrl+Alt+R) and Filter Through Command (Ctrl+Alt+P), buttons Try it on sample text, Open the manual and Open a file, and What's new in 2.2.0 on the right

  • Try it on sample text opens a new tab with a few log lines and a line of JSON, and a two-step guided tour above it: keep only the ERROR lines with Keep Matching Lines, then turn the JSON into YAML with Convert to. Show me does each step for you; End tour puts the tour away.
  • After an update, the tab opens once more, headed What's new, with the new version's release notes.
  • Show this tab when Ettin Edit starts opens it every time. Help > Welcome (or ? on the toolbar) opens it whenever you like.

The Welcome tab can't be edited or saved, and isn't kept between sessions.

From top to bottom:

The menu bar

You can hide the menu bar to give the window a cleaner look: choose View > Menu Bar or press Ctrl+M. While it's hidden, tap Alt on its own to show it for a moment; it goes away again when you run a command, press Escape or Alt, or click elsewhere. Press Ctrl+M (or use View > Menu Bar from the shown menu, or right-click the toolbar) to keep it showing again. The toolbar can be hidden too, and Ettin Edit remembers both choices.

MenuWhat's in it
FileNew, open, save, recent files, print, rename, workspace folders, close
EditUndo, clipboard, line operations, comments, multi-select, completion, column editor, read-only
SearchFind, replace, Find in Files, marks, Go to Line, bookmarks
ViewWord wrap, symbols, panels, split view, folding, zoom, distraction-free mode, the menu bar, the toolbar and the Theme
EncodingThe encoding the file is saved in, or read it again in another one
LanguagePick the highlighting language, add your own languages
TransformEverything that changes the text: filter through a shell command, recipes, macros, find and replace, lines, case, Convert to, encoding and hashes, JSON and XML formatting
ToolsTools that look at the text without changing it: Compare, CsvQuery, JSON Tree, the XPath panel, XML checks and XSL Transform
PluginsYour plugins' commands, and managing plugins
SettingsPreferences, the Shortcut Mapper, Customise Toolbar and quick on/off switches
HelpThe Welcome tab, this manual, update checks and About

Until 2.1 there were also Theme and Macro menus; they are View > Theme and Transform > Macros now.

Under the menu bar is the toolbar: tabs of buttons for the commands you use most. Right-click it to customise it, or press Ctrl+F1 to collapse it to its tab names. Its Home tab puts transforms first, ? at its right opens the Help menu, and ☰ Simplified makes it one row of small buttons.

Help > About Ettin Edit shows the version you have.

Right-clicking the text gives you Cut, Copy and Paste, the commands that fit what you clicked (a selection, or a JSON, XML or CSV file), then the whole Transform menu, Recipes and More Edit Commands, so you rarely need to go up to the menu bar. See the right-click menu.

Tabs

Each open file has a tab. A dot on a tab means it has unsaved changes, and a pin means it's pinned. At the end of the tab bar:

  • + opens a new, empty tab (Ctrl+N).
  • ⏷ opens the tab list, handy when there are more tabs than fit.

Right-click a tab for close, pin, split-view and file commands. Hover over it to see the file's full path.

When the window is split in two, each half has its own tab bar.

The find bar

Ctrl+F or Ctrl+H opens the find bar above the text. See Finding and replacing.

The editor

The text itself, with the gutter on its left:

  • line numbers,
  • bookmarks (click the gutter next to a line, or press Ctrl+F2),
  • fold markers: − folds a block away and + shows it again.

The editor highlights the current line, the bracket matching the one at the caret, and other places where the selected word appears. Everything it shows can be turned on and off in the View menu.

Panels

Panels open beside the text and stay until you close them:

PanelWhereOpens with
Folder as WorkspaceleftFile > Open Folder as Workspace…
Function ListrightView > Function List
Document MaprightView > Document Map
JSON treerightCtrl+Alt+J
Search resultsbottomFind All or Find in Files
XPathbottomCtrl+Alt+Shift+E
CsvQuerybottomCtrl+Alt+Q
Plugin panelsright or bottomthe plugin's own command

Drag the edge of a panel to resize it.

The status bar

On the left:

  • The language, such as Rust or Plain Text. Click it to choose another.
  • length (characters) and lines in the document.
  • In XML files, the XPath of the element at the caret. Click it to copy it.
  • ● Recording macro while a macro is being recorded.
  • Read-only when the tab is read-only. Click it to allow editing again.

On the right:

  • Ln and Col, the caret's line and column, followed by Sel (how many characters are selected) and how many carets there are, when that applies. Click it to go to a line.
  • The line ending: Windows (CR LF), Unix (LF) or Macintosh (CR). Click it to change the document's line endings.
  • The encoding, such as UTF-8. Click it for the Encoding menu.
  • The zoom level.

The command palette

Press F1 anywhere. Type a few letters of any command, for example dup for Edit › Line Operations › Duplicate, then press Enter. Words can be in any order and needn't be complete, and each command shows its shortcut, so the palette is also a good way to learn them. Commands you used recently come first, and so does json → Format JSON: names that start with what you typed rank above names that only contain it. Your recipes and your plugins' commands are in the list too.