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, view it on GitHub, or mute the thread.