[Github-comments] [geany/geany] Instantaneous reload of changed files on focused tab (#2603)

Matthew Brush notifications at xxxxx
Fri Oct 2 17:01:07 UTC 2020


You set a custom command (`Edit->Format->Send Selection To->Set Custom Commands`) and then when you activate it, it takes the selection and then sends it to the standard input of the command (in this case `rustfmt`) which does its thing (in this case formats Rust code) and then sends the result out of its standard output, which Geany then replaces the current selection with.

For example if you set `rustfmt` as the first custom command, the key sequence <kbd>Ctrl</kbd>+<kbd>a</kbd> <kbd>Ctrl</kbd>+<kbd>1</kbd> would format the entire current document.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2603#issuecomment-702846569
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201002/62623a14/attachment.htm>


More information about the Github-comments mailing list