A better solution would be to add an option in build menu to reload the document after a command execution (`prettier %f && geany %f`) or to replace all text with the command output, because I can use different command and different options based on filetype, for example minify https://github.com/tdewolff/minify have support only for 6 filetype but I want to minimize other formats with different command. Example: json prettify: `python -m json.tool %f` json compact: `jq -c . %f` css prettify: `prettier %f` css compact: `minify %f`