19.04.2015, 14:25
(
Last edited by Ahmad45123; 21/04/2015 at 08:04 PM.
)
Ahmed's Code Indenter
Description:
Hello everyone, I am back with a new tool.
I actually need this for some personal stuff, However I decided to release it if someone else need it.
This is basically a code indenter but its very fast on huge scripts as it uses another thread to process the code which doesn't make the app crash, It takes like 30 seconds to process a 100K lines script.
All what you have to do is just press the "..." button and choose a file than click start.
And the app will create a new file in the same directory called "NAME_OF_FILE_fixed" so if the file was test, the fixed file will be test_fixed.
Examples of output:
This:
PHP Code:
Fucntion()
{
Function2()
{
hgfhfgh
}
Fucntion3()
{
Function4()
{
Function5() { SOME CODE HERE }
if(dfdsf)
{
gfdgfdg
}
}
}
}
Functiondfs()
{
Function2()
{
}
Fucntion3()
{
Function4()
{
Function5() { SOME CODE HERE }
if(dfdsf)
{
}
}
}
}
PHP Code:
Fucntion()
{
Function2()
{
hgfhfgh
}
Fucntion3()
{
Function4()
{
Function5() { SOME CODE HERE }
if(dfdsf)
{
gfdgfdg
}
}
}
}
Functiondfs()
{
Function2()
{
}
Fucntion3()
{
Function4()
{
Function5() { SOME CODE HERE }
if(dfdsf)
{
}
}
}
}
V1.1: http://www.mediafire.com/download/4j...denter_1.1.rar
Source: http://www.mediafire.com/download/0y...ter-source.rar
Thanks and don't forget to leave a reply or REP