Rust language provides many tools to make programming easy and finding bugs faster. Some of the tools I personally use are rustfmt, clippy and miri. Right now when I have to run these tools, I have to execute these from command line. Take `rustfmt` for example after formatting the code using `rustfmt main.rs` we have to reload our code every time in geany. It would be very helpful if we have a way to integrate such tools in geany. It will be also useful if we have a dedicated one click buttons for such tools in our tool bar itself similar to run, build buttons.
https://www.geany.org/manual/current/index.html#sending-text-through-custom-...
Thank you after a little search found out Set Build Commands already provides the same thing. But still have two problems,
1) Set Build Commands only allow fewer commands (Rust:3, Independent:4 and execute:2. Presently all of my commands are full) 2) There is no dedicated one click button for such tools
@fightthepower if your tools only work on files then yeah using build tools is the best way to go since they save the buffer to the file.
The build tools menu is expandable, see the fine manual and the [wiki](https://wiki.geany.org/howtos/configurebuildmenu).
`rustfmt` supports stdio piping [according to its readme](https://github.com/rust-lang/rustfmt/blob/master/README.md#running-rustfmt-d...).
github-comments@lists.geany.org