HookyQR / VSCodeMinify

Add minify function to VSCode 0.10+
53 stars 20 forks source link

Interest in inline minify without needing to save a file? #25

Open petertirrell opened 6 years ago

petertirrell commented 6 years ago

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?

HookyQR commented 5 years ago

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