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`

-- 
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/2156#issuecomment-493743425

Reply via email to