1 : Don't make me run an MSI installer with admin privileges, then pop a browser window when done. A lot of people will turn away right there without even running the product. 2 : I'd like to be able to configure which lines are removed; Your definiton of 'uselesss/non-useless' whitespace might differ from mine. 3 : Undo is broken (I noted it specifically for the 'inline all the code lines' command), which is a bad thing that can lead to code loss. 4 : I'd like to be able to have the operations apply to a selected codeblock, not the entire document
Thanks for you feedback. I'll try to answer to all your points as accurate as possibile.
1- I see you point. At the time I developed it, VSIX weren't very popular, and so I just published what I've done with the previous tools.
2- You are right, but please consider that this tool is not meant to be the "ultimate" solution for formatting. I tried to implement it as simple and fast as possible, to avoid confusion and configuration-driven clutter.
3- AFAIK undo *seems* to be broken, but it's not. Simply, the formatting functionalities are applied with the execution of multiple steps, all recorded by the history stack of the editor (by design), so if you want to go back to your original condition, you have to go back in history more than one time. Maybe this is not intuitive enough: I'll try to fix it in the next version.
4- This is a good point too, but please consider the main target of this plugin: homogeneity. It's conceived to give you a uniform global code styling, no matter what. Your request, even if reasonable in some contexts, would broke this main assumption.
I hope I have been clear and exhaustive. Thankyou again for your feedback.
Good idea. A few points to improve: 1. It should work also on selected text only and not necessarily on the entire file
2. Actions should be repeatable: for example, if I inline all code, then the format code doesn't do anything. I would expect the format code to be able to "beautify" any code even if it is in one line only.