1 unstable release

0.1.3 Oct 2, 2025

#72 in Text editors

MIT license

105KB
2.5K SLoC

RustyEd

red or RustyEd is a lightweight and minimal text editor which supports multiple-tabs (à la vscode) and which integrates a file browser and a terminal. The editor component supports syntax highlighting via tree-sitter-highlight. lsp support via json-rpc (completions via ctrl+space).

Building

git clone https://github.com/MoAlyousef/red
cd red
cargo build --release

To disable building with tree-sitter and the terminal:

cargo build --no-default-features --release

To build with native wayland support on Linux:

cargo build --features=fltk/use-wayland --release

image

Known issues

  • If you're running KDE and no icons appear in the FileBrowser, you can try setting the KDEDIR to /usr/local.
  • Highlighting via tree-sitter seems to vary between different language modules. tree-sitter-json seems quite limited for example.

ToDo

  • Add a settings dialog.
  • Save and get user settings using fltk Preferences.
  • Enable using FLTK's FileChooser instead of the system provided one via the settings.
  • Add more options to FileBrowser popup menu and the terminal menu.
  • Support user provided color schemes for the app and the highlighting.

Dependencies

~16–32MB
~518K SLoC