Skip to content

o 2.49.0

Compare
Choose a tag to compare
@xyproto xyproto released this 05 Apr 12:48
· 2460 commits to main since this release

Debug-related functionality

  • Make it possible to step through a C or C++ program with gdb.
  • Make it possible to step through Assembly too (requires yasm or nasm, ld and gdb).
  • Jump to the line that gdb is at when stepping through a program.
  • Jump to the top when a debug session starts, and to the end when it's done.
  • Only display the debug menu item if gdb is found.

Building

  • Use file modes instead of file extensions when selecting a build command (for most cases).
  • Improve the error handling when building.
  • Improve the build result check.
  • Minor changes to build-related status messages.

Templates

  • Add a template for Hello, World! that can be inserted into an empty Perl (.pl) file with ctrl-w.

Formatting

  • Let ctrl-w format Perl scripts with perltidy.
  • Let ctrl-w format shell scripts with shfmt.
  • Display no status message when formatting with ctrl-w.

Fixes

  • Only detect file modes by content if file mode by filename did not work out.
  • Refactor the code related to building with ctrl-space. Introduce a better way to check for build results.

Syntax highlighting

Minor improvements to the syntax highlighting of:

  • Go code
  • Rust code
  • Python code
  • Makefiles
  • Shell scripts
  • Assembly code written for Amiga
  • Log files (using xyproto/stringpainter).

Code editing

  • Don't add parenthesis for if and for for Rust when pressing return.

Status messages

  • Improve the status message for when macro recordings are stopped with ctrl-t.

Environment variables

  • Respect XDG_CONFIG_HOME.
  • Expand ~ if it's used in ie. $TMPDIR.

General

  • Follow the advice of staticcheck and golint.
  • Update documentation.
  • Update CI configuration.
  • Update dependencies.