VSCodeMinify icon indicating copy to clipboard operation
VSCodeMinify copied to clipboard

Interest in inline minify without needing to save a file?

Open petertirrell opened this issue 6 years ago • 1 comments

I had a need where I wanted to minify some small snippets of HTML for copying/pasting but didn't necessary need an actual file saved.

I forked the repo and put together a proof of concept that will take a given "Untitled" tab, and based on the selected languageId perform the minification and put the results in a new Untitled tab. I added a new "Minify Inline" command option to handle the new functionality. I've got a little cleanup to do, but would there be any interest in a pull request for something like this?

petertirrell avatar Jul 05 '18 18:07 petertirrell

Sorry for the delayed response. Sure, send a PR. You might want to rebase on the current master. There's been several changes.

HookyQR avatar Mar 27 '19 08:03 HookyQR