Other [new feature] Auto Format

Erel

B4X founder
Staff member
Licensed User
Longtime User
The next version of B4A will include an auto-formatting feature.

test.gif


It fixes the code indentation. You can activate it by selecting the text and pressing on Alt + F. It will also be applied to pasted code. This is very useful as code copied from the forum doesn't include any tabs at all.
 

Dave O

Well-Known Member
Licensed User
Longtime User
I forgot the Alt-F shortcut (haven't used B4A for about a month), and couldn't find it in the menus - had to search the forum for it.

It would be useful to add this function to the Edit menu, along with the shortcut listed beside it, to make it more discoverable.

Glad to be back in B4A after some time away. :)
 
Upvote 0
Top