Skip to content

Arro 0.1.23

Choose a tag to compare

@PabloSensei PabloSensei released this 19 Nov 16:00

Arro 0.1.23

The editor, the find bar and completion got a long list of fixes. The diff window has a new toolbar and look. You can commit only some hunks of a file and push from a Push window. The Run and Debug consoles link to sources and can be searched. Alt+F8 opens a real Evaluate window, and Attach to Process lists the running JVMs. Interface scale now works on Linux and macOS too.

Editor

  • Soft-Wrap and whitespaces apply to every editor tab and are remembered.
  • Paste history survives a restart.
  • Ctrl+F7 finds usages in the file and F3 walks them.
  • Backspace in the indent goes back to the previous indent level.
  • Ctrl+W grows the selection even where the parser cannot help.
  • Column selection from the keyboard.
  • Move Statement and Move Line work for every caret. Move Statement moves whole statements, members and arguments.
  • Smart Enter (Ctrl+Shift+Enter) completes the statement on every caret. It also works before a comment and in multi-line headers.
  • The editor menu has the familiar rows: Folding, Copy Reference, Column Selection Mode.
  • Nested editor splits. Groups can be split inside splits, have their own dividers, are saved and restored, and can be unsplit.
  • Refactor → Copy… is in the menu and works from Refactor This.

Completion

  • CamelHumps and typos. StrB finds StringBuilder, and a small typo still finds the name.
  • Second Ctrl+Space shows everything the server offers. A third one opens the documentation of the selected row.
  • Usage order. The rows you pick more often move up.

Find

  • The find bar has In Selection, a query history that is kept, and Preserve case in the file and in Replace in Files.
  • Previews. Find in Files and the palettes show a preview of the file. The breadcrumbs open a list of neighbours.

Diff window

  • A new toolbar:
    • Previous / Next Difference (Shift+F7 / F7; at the last difference F7 goes to the next file);
    • Jump to Source (F4);
    • Previous / Next File (Alt+← / Alt+→) with an n/m files counter over the whole change set;
    • Collapse Unchanged Fragments, a differences counter, and Side-by-side / Unified.
  • The gear menu remembers its options: whitespace mode, highlighting by line, word or character, synchronized scrolling, line numbers, soft wraps, context lines, and Open in Editor Tab.
  • Side headers show a lock on read-only sides, the revision and the path. Unchanged lines collapse into a clickable "N unchanged lines".
  • Between the panes: curves connect the hunks, with >>, << and × on every hunk and both sides' line numbers. The scrollbars carry change marks.

Git

  • Partial commit. In the diff of the Commit window every hunk has a tick. Unticked hunks stay out of the commit and in the working tree.
  • Push window (Ctrl+Shift+K):
    • the commits to push and their files;
    • the remote, the target branch and Push tags;
    • Force Push with a warning, done as --force-with-lease;
    • a branch without an upstream is pushed with --set-upstream.

Run and Debug

  • Stack frames in the Run and Debug consoles are links to the sources.
  • Console search and filter with Ctrl+F, case, word and regex, F3 / Shift+F3.
  • Mute Breakpoints turns all breakpoints off without removing them.
  • Run and Debug from the test tree: Run/Debug of a single test or class from its menu, and Rerun Failed Tests.
  • Evaluate window (Alt+F8):
    • a multi-line expression;
    • the result as a tree;
    • history;
    • Add to Watches;
    • the selection taken as the expression.
  • Attach to Process lists the running JVMs with a debug port. You can still type host:port.

Problems and fixes

  • Problems has Current File and Project Errors tabs. Project errors are grouped by file.
  • Fix all '…' in file in Alt+Enter fixes every case in the file in one edit and one Undo.

Project tree

  • Compact Middle Packages. A chain of single-child folders shows as one row: com.example.demo under source roots, a/b/c elsewhere. Toggle it in ⋮ → Tree Appearance.
  • Ctrl+drag copies instead of moving. Java files go through Copy Class.

Linux and macOS

  • Interface scale grows the whole window, as on Windows.

Fixed

  • Every icon name the code asks for has a file in both icon sets.
  • The last section of a Settings page scrolls clear of the buttons.
  • The diff gutter no longer crashes when old change marks pointed past the end of the text after a large edit.