Ferrum
Sign in Create account

Ferrum 0.5.0

Run and Debug arrives, tasks run from the editor, and the window gets round corners.

Run and Debug

  • Breakpoints. Press F9, or click left of a line number or in the narrow column beside it. Breakpoints follow your edits, undo with them, and are still there after a restart.
  • Start Debugging (F5) reads .vscode/launch.json. With no launch.json, F5 debugs the Python file you have open. Run Without Debugging is Ctrl+F5.
  • Debuggers: Python through debugpy (the copy that comes with VS Code's Python extension, or one you installed with pip), C and C++ through gdb 14 or later, and lldb-dap.
  • preLaunchTask runs first, so a build task can compile the program before it starts.
  • Step through code with F10, F11 and Shift+F11, pause with F6, stop with Shift+F5 and restart with Ctrl+Shift+F5. The same controls are on the Run menu and on a small bar over the editor.
  • While paused, the current line is highlighted, and the Run and Debug panel on the left shows Variables, Watch, Call Stack and Breakpoints. Open variables stay open from one stop to the next, and clicking a frame in the call stack jumps to its line.
  • Watch expressions. Add one from the Run menu or the Watch section; each is evaluated again at every stop.
  • Debug Console. The program's output goes to a Debug Console tab in the terminal panel.
  • Add Configuration... writes a starter launch.json.

Tasks

  • Run Task..., Run Build Task... (Ctrl+Shift+B) and Run Test Task... on the Terminal menu, from .vscode/tasks.json and the tasks a project implies: cargo for Rust, the scripts in package.json for npm.
  • Problem matchers. Errors a task prints land in the Problems list, with squiggles in the files, hover text, F8, and a count in the status bar.
  • dependsOn chains, Rerun Last Task, Terminate Task, and Configure Tasks... to start a tasks.json.
  • A finished task's terminal stays open with its exit code; any key closes it.

Window

  • Rounded corners on Windows 11.

Fixes

  • Typing > in Quick Open turns it into the Command Palette, as it does in VS Code.
  • A long branch name no longer runs over the Source Control panel's title.
  • Sending a Command Prompt to a folder on another drive now works when the terminal was opened from a profile or renamed.
  • Unfolding a merge commit in History lists its files.
  • When git refuses a push or pull, the message names the problem rather than quoting git's closing advice.