CaffeineOnIce / AutoMinify

A VSCode extension to minify HTML, CSS and JS files.
https://marketplace.visualstudio.com/items?itemName=CaffeineOnIce.autominify
MIT License
2 stars 1 forks source link

Add as Optional: Open file after minify it #9

Closed 3xploiton3 closed 10 months ago

3xploiton3 commented 11 months ago

can you make after minify it, it will open file at next tab?

image

CaffeineOnIce commented 11 months ago

Can do, but VSCode documented API is utterly messy. Will have to search for such triggers. But, also, I'll probably update on 16th Dec, due to me having exams currently.

3xploiton3 commented 11 months ago

example: https://marketplace.visualstudio.com/items?itemName=PedroAlves1122.vscode-minify

CaffeineOnIce commented 11 months ago

I don't understand. Can you explain a bit?

3xploiton3 commented 11 months ago

i need workflow like this

Open a JS or CSS file in Visual Studio Code. Press Ctrl+Shift+P or Cmd+Shift+P to open the Command Palette. Type Minify it (no save file) and press enter. The minified code will be displayed in a new slide.

image

Pros: Need review before file has been save

Cons: Manual Review

CaffeineOnIce commented 11 months ago

aha, a review pane, eh? Well, I have many things marked for the update, so this will take more time to build. Might not be in the next update. Might be in another update after the 16th one before 31st December. I'll see to it.

CaffeineOnIce commented 10 months ago

@3xploiton3 I've implemented it. Will push out the update in a few days.