I worked a lot with flash actionscript and one of the most helpful IDE-function is the auto-indent button. One click and the code is parsed for syntax errors and formatted by an editable set of rules.
so this line:
if (foo==bar){ foo=1; bar=2;}else{trace("WTF?!")}
would end up like this:
if (foo == bar){
foo = 1;
bar = 2;
} else {
trace( "WTF?!" )
}
I need this for LUA code!
Especially indenting in complex code can be very confusing:
“now, where does this ‘end’ belong to?!”
This afternoon I tried a lot of stuff* but nothing worked satisfyingly.
any suggestions?
thanks
-finefin
*
- Imagine PPGUI
- Notepad++
- UniversalIndentGUI
- LUAEclipse
- prettydoclua
- …?
[import]uid: 70635 topic_id: 21411 reply_id: 321411[/import]