Ferrum
Sign in Create account

Ferrum 0.4.0

Source control grows up, the terminal learns your shell, and Ferrum moves to a new home.

A new home

  • Ferrum now lives at ferrum.customrl.dev. The site, sign-in, updates and downloads all moved there. Your account and everything on it came along.
  • If you are on 0.3.0, download this release once from the site. 0.3.0 checks for updates at the old address, which no longer answers. Your sign-in carries over on its own after installing.

Source control

  • Commit graph. The History list draws each branch as a coloured lane, with Incoming and Outgoing sections for what is waiting to be pulled or pushed.
  • Pull requests. Open pull requests show in the Source Control panel with their checks and draft state. Check one out, open it in the browser, or list its checks.
  • View All Changes. Every changed file in one scrolling tab. Click a file's header to open its side-by-side diff.
  • Commit variants. Commit Staged, Commit All, Commit and Push, and Commit and Sync, from the Git menu or the chevron on the Commit button.
  • Unstage Selected Lines, beside Stage and Revert.
  • Blame hover. Rest on the blame note after a line to see the commit; click it to open it in History.
  • Hunk peek. Click a change bar in the gutter to see what the lines were before, with Revert This Change.
  • Merge conflicts. Both sides are coloured, Accept All Current and Accept All Incoming resolve every block at once, and Compare Changes shows a block's two sides as a diff.
  • Compare anything. Compare With Saved, Compare With Clipboard, and Select for Compare then Compare with Selected on the file tree.
  • Diffs have softer change colours, hatched filler rows, and both halves scroll together.

Editor

  • Lightbulb. A bulb appears in the gutter where the language server has a fix or refactor; click it or press Ctrl+. for the list. Refactor... and Source Action... are in the Edit menu.
  • Go to Implementations, Type Definition and Declaration, on the Go menu.
  • Format Selection, and an optional format on paste.
  • Indentation is detected per file, shown in the status bar, and convertible between spaces and tabs.
  • Change Language Mode, to read a file as another language.
  • The rename box opens on the symbol itself.
  • Drag selected text to move it, or hold Ctrl to copy it.
  • Unicode highlighter. Look-alike and invisible characters are outlined, and hovering one names it.
  • Add Line Comment and Remove Line Comment on Ctrl+K Ctrl+C and Ctrl+K Ctrl+U.
  • More cursors. Add cursors to line ends (Shift+Alt+I) and move the last occurrence along (Ctrl+K Ctrl+D).
  • Closing a changed tab asks Save, Don't Save or Cancel.

Search and problems

  • Search results open on the match, not at the start of its line.
  • Include and exclude globs in project search, behind the ... toggle or Alt+F.
  • The Problems list stays live as the server reports, and the box narrows it.
  • Output: Language Server shows what the server said, and Restart Language Server is beside it.

Terminal

  • Profiles. New Terminal With Profile... lists your shells, and the terminal_default_profile setting picks the one a new terminal opens.
  • Run Recent Command and Go to Recent Directory (Ctrl+Alt+R and Ctrl+G), from a history Ferrum keeps itself, so they work in any shell.
  • Shell integration for bash, zsh and fish, as PowerShell already had: command marks, exit codes, and Jump to Previous or Next Command.

Fixes

  • Clicking a file's tab or the breadcrumb bar after typing in the terminal now takes the keyboard back from the terminal.
  • Clicking in the text now takes the keyboard back from the search pane.
  • History times read "1 minute ago" rather than "75 seconds ago".
  • A diff of a file with Windows line endings no longer crashes.