of     1   

UnBuild
#99090863Tuesday, May 28, 2013 12:34 AM GMT

awsumpwner27
#99119520Tuesday, May 28, 2013 4:46 AM GMT

and that, kids, is why you indent your code while you write it
awsumpwner27
#99119571Tuesday, May 28, 2013 4:47 AM GMT

(Admittedly, this feature should work better, since unindented code from someone else is bound to be encountered.)
UnBuild
#99120125Tuesday, May 28, 2013 4:54 AM GMT

@Awsum Sometimes it gets indented wrong if you add more to it Like while true do [TAB] wait(1) [TAB] print("ok") end Lets add a if statement while true do [TAB] if true then [TAB] wait(1) [TAB] print("ok") [TAB] end end Tabs, y u no correct? (Thats on a small scale, what if wait(1) and print("ok") was a the rest of your script) Or if you post it on the forums Or if someone PMs it to you
awsumpwner27
#99127181Tuesday, May 28, 2013 7:00 AM GMT

Well, for the first case, you can actually select large portions of code and press Tab to indent the section, so it's not often that hard to do it yourself. The next two? Yeah, this needs to be fixed. Unfortunately, fixing it probably isn't entirely easy. You have to account for a wide range of cases where there should be indenting. Like: • After a () if function is there before it. •After then •After do •After repeat •After a ( or { is opened in certain cases •Increment a tab counter each time any above cases occurs •Decrement counter if an end is encountered, or if a ) or } closes a special case of braces •Clear code of tabs before adding the fixed ones in. Not easy to code in my experience.
cntkillme
#99148477Tuesday, May 28, 2013 2:45 PM GMT

Find and Replace [TAB] with [NOTHING] CLEARED!!!
UnBuild
#99171326Tuesday, May 28, 2013 7:07 PM GMT

@Cnt ...That removes the tabs... "Well, for the first case, you can actually select large portions of code and press Tab to indent the section, so it's not often that hard to do it yourself." For me, that just clears the script to a tab
awsumpwner27
#99182267Tuesday, May 28, 2013 8:36 PM GMT

Well, that's not supposed to happen. The Prime Jester of Scripters has spoken.
UnBuild
#99193928Tuesday, May 28, 2013 9:57 PM GMT

@Awsum http://www.youtube.com/watch?v=rNm8q99Qe6A
RyanDolan123
#99269859Wednesday, May 29, 2013 3:02 PM GMT

dr01d's plugin automatically fixes this
Dr01d3k4
#99273554Wednesday, May 29, 2013 3:59 PM GMT

^ Though it doesn't work with else(if) I believe. I would love to make a full formatter that takes your code, splits it into the tokens and reconstructs it with tabs, spaces, newlines etc.
coplox
#99463621Friday, May 31, 2013 3:31 AM GMT

1waffle1
#99465818Friday, May 31, 2013 3:58 AM GMT

your code is ugly. use forum enhancer.
UnBuild
#99501357Friday, May 31, 2013 4:18 PM GMT

"Your code is ugly" I didn't post any...

    of     1