RustyEd

Crates.ioRustyEd
lib.rsRustyEd
version0.1.3
created_at2025-10-02 20:27:37.849722+00
updated_at2025-10-02 20:27:37.849722+00
descriptionA simple text editor written in Rust using FLTK
homepage
repositoryhttps://github.com/MoAlyousef/red
max_upload_size
id1865018
size134,996
Mohammed Alyousef (MoAlyousef)

documentation

README

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.
Commit count: 0

cargo fmt