[Github-comments] [geany/geany] Pass file type to "Send Selection" commands (#2156)

GFdevelop notifications at xxxxx
Sun May 19 10:02:28 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190519/98162dfc/attachment.html>


More information about the Github-comments mailing list