Sorting App blocks

Well, when you start coding your App, organise the Blocks by grouping types together, and frequently use right-mouse-click 'Clean Up Blocks'.

3000? Want to see my app from 11,000 blocks? :niewinny:

Also jean-marc, when you have a very long Block that looks like crocodile teeth, there is usually some optimisation to be had that can reduce the Block count - also reducing the potential for bugs and making everything lighter to handle.

2 Likes

That was one screen
My block total would be nearby yours :joy:

For me, everything is on one screen because I do not use screens, but arrangement.
About 20 "screens" from the arrangement.

get an image of your blocks (β†’ right mouse click in Blocks area)

also read this :


Thank you... :+1:

I prefere organize my bloks depending of what they are concerned by...because with clean up i'm lost in organization...

Exactly. Sorting alphabetically etc makes no sense. Well, maybe it's good when you have "Hello world" applications :D.
It would be good if the blocks could be sorted by Tags. Tags could be added in the comments. For example, sorting in several columns according to the first word of a comment.

1 Like

.... well that is what I have said. Clean-up Blocks does not arrange your Blocks Alphabetically, it arranges them in a single vertical column.

For me, block cleaning made one column of several hundred blocks. Not arranged alphabetically. I do not know what criteria it will sort by, but there is no logic in it.

Here is an idea for section dividers.


The yellow error prev/next arrow buttons should be able to get you to the prev/next section

2 Likes

The point is, you need to start with tidy Blocks arrangement, there isn't any IDE capable of mind reading to the extent that it can auto-organise pre-written code for you.

However, you might like to try organising by category, AI can do that for you. It's also a fact that many people find it easier to navigate their blocks when they are arranged in a single column. Clean-up Blocks arranges the Blocks neatly, a set distance apart, so if you start by working with a single column, when you need to add a block between others, you can drag the block in position and then apply Clean Up.

1 Like

Before cleaning, my blocks were arranged in several dozen columns according to the functions they belonged to. For example, blocks responsible for connecting and reading / writing data via BT together. Blocks responsible for loading data to subsequent pages of the application separately. Separate blocks for processing binary data. There is a problem with bluetooth in the application, then I know where to rewind the blocks to the bluetooth section. And this block cleaning made one column not logically arranged. I tested on two applications. Therefore, I am asking what is the scheme of this cleaning function? Or maybe it just doesn't work?
Sometimes something that used to work stops after an update.

I saved the aia file to my computer. Then I changed with a extern program (visual basic) the block information, so I could switch position, enabled etc. Not nice, but usefull...
There is a youtube video how to double a button.

I believe I have explained thoroughly :upside_down_face:

Where did I say that Clean-up Blocks was going to help if your code was not already organised in a single column?

Please read my post fully - the answer is already there:

Sorry. I misread this post the first time. Well, if someone programming in one column, it have sense. So it doesn't segregate the blocks, it aligns it and only works for one-column programming.

The ABG idea is also good. Then you can move around the screen pretty quickly.

I think so too, but there is a chance that the APK could be adversely affected, so before a build, best to disable them.

1 Like

Yes I think it's a good idea....

ABG section deviders, wonderful !!

join + Text1 + Text2 + Text3 (Is that one line?)

my join looks like
join Text1
___ Text2
___ Text3

How can I put Text1 + Text2 + Text3 to one line?
what is the job of join?

Text without join does the same job, or not?

Right-click on the "join" block and select "Inline inputs" from the context menu.