Automatic Code structuring

awama

Active Member
Licensed User
Longtime User
I want a shortcut to the IDE for automatic code structuring

example:
If a = 1 to b then
for i = 0 to x
for j = 0 to y
code
next
next
end if

ShortCut should structuring:

If a = 1 to b then
...for i = 0 to x
......for j = 0 to y
.........code
......next
...next
end if


and a shortcut for CollapsAll / Expand all Sub and Regions (All!).

Is that possible?. Thank you.
 

Harris

Expert
Licensed User
Longtime User
Me too with with a setting for indent with a default of 3 or 4 spaces

My code formatting is a mess.

Actually, some smart user could develop this as an add on. I will buy it for sure!!!!!
 

Tom Law

Active Member
Licensed User
Longtime User
B4A SOURCE CODE FORMATTER
Let me have your email address and I will send you a b4a source code formatter written in VB .net.

UPDATE:
Erel has now put this on the website and made it available for direct download. You can find it under 'Additional libraries, classes and official updates'

Tom Law
 
Last edited:

Harris

Expert
Licensed User
Longtime User
Thanks a bunch! I shall check it out...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…