I saw a decent number of people are using my unminifier so here’s an upgrade.
- .zip/.smod support (no need to extract some 4000 files each time a new release hits us, works right off your RAM.
- tab support for viewing muliple files at once
- drag and drop file/directory opening (drop files/folders in the panel on the right)
- use regualar expressions to search for text either in your current file or the entire project. (if you search the entire project another window will be open containing every match found (see second photo), double click any result to view it in the editor, click once to scroll align views).
- highlighter for searched text
- command line options are still there (still overwrites input files)
- luaformatter.exe myluadirectory
- luaformatter.exe myluafile
if you check out the source
… good coding practices out the door
When in the window containing the search results for the entire project, selecting any field will scroll the other views to match the one your on, ie their data will match up, no need to scroll each separately.
You can open up filesystem .lua files in the editor but they will not participate in searches for the entire project. (hard disk you are too strong ;)). If you really need a work around I’d just recommend using visual studios or some other IDE with great search engine, or if you really wanted you can just zip you file’s up.
As I said above this is very poorly coded, I almost have no intentions on returning to this project other than bug fixes, feel free to let me know what you come across.
Hope this helps
Thanks for your time
Old Stuff Below
- fixed formatter running twice on files because *.lua matches a .luac file, why??? Microsoft Why??? This caused formatting problems to occur.
- fix an issue causing “then/do/and/or” to fall onto their own line
- array parsing now works, lets hope it doesn’t break everything.