When I first got Ultra-Edit, I opened a javascript file up.
When I reindented it I was dissapointed:
Notice that if you indent something like this:
you get:
So you'd have to use:
or:
if you wanted it to indent correctly.
The last two styles of coding suck ass. }else{ is the bestest way to do it.
Goto wordlist.txt.
Find the language you want to indent correctly.
Replace the indent & unindent with:
When I reindented it I was dissapointed:
Notice that if you indent something like this:
Code: Select all
if (1)
{
.....
}else{
.....
}
Code: Select all
if (1)
{
.....
}else{
.....
}
Code: Select all
if (1)
{
.....
}
else{
.....
}
Code: Select all
if (1)
{
.....
}
else
{
.....
}
The last two styles of coding suck ass. }else{ is the bestest way to do it.
Goto wordlist.txt.
Find the language you want to indent correctly.
Replace the indent & unindent with:
Code: Select all
/Indent Strings EOL = "{"
/Unindent Strings SOL = "}"