[Github-comments] [geany/geany] [FEATURE-REQUEST] prettify and compact (#2156)

GFdevelop notifications at xxxxx
Sat May 18 16:04:03 UTC 2019


How can I use "Send selection to" based on file type? At this time I'm have multiple shortcuts, for example:
prettify json CTRL+1 --> `prettier --parser json`
prettify css CTRL+2 --> `prettier --parser css`
compact json CTRL+3 --> `minify --type json`
compact css CTRL+4 --> `minify --type css`
etc...
My idea is to have:
prettify CTRL+1 --> `prettier --parser %e`
compact CTRL+2 --> `minify --type %e`
where %e is the type of file.
Is there any existing solution?

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


More information about the Github-comments mailing list