New feature: modules groups and more

Erel

B4X founder
Staff member
Licensed User
Longtime User
Easier to organize large projects:

modules.gif


Note that the module files are not moved.

You can also rename and remove modules directly from the tree.
The current page, sub and groups are marked in bold.
Groups can be nested.
 

LWGShane

Well-Known Member
Licensed User
Longtime User
Note that the module files are not moved.
In that case, I recommend creating a folder called "Modules" and having modules be created in that folder from now on. (Plus that make it look more organized in Windows Explorer and would make for better search results for larger projects.)
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
In that case, I recommend creating a folder called "Modules" and having modules be created in that folder from now on.

Another new planned feature will allow you to add referenced modules. This means that you will be able to add modules from any folder you like and they will not be copied.
This will make it much easier to share modules between projects.
 

LWGShane

Well-Known Member
Licensed User
Longtime User

Emme Developer

Well-Known Member
Licensed User
Longtime User
Would be great also a shared file, in order by to copy file from a specific folder into assets automatically when we start a new release
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
In the next version it will be possible to add modules from other folders. It will make it much easier to share modules between different projects and different platforms.

Sharing files is indeed a useful feature, however it will probably not be implemented for the next version.
 

Misterbates

Active Member
Licensed User
Not strictly on-topic, but how about an #Include directive, which would allow all source files to be in the project folder, but would make it possible to include the content of files outside of the project folder?
 

alwaysbusy

Expert
Licensed User
Longtime User
Any chance that methods that are in the same #region are also automatically grouped?

e.g.
B4X:
sub Process_Globals

End sub

#Region myMethods
Sub mySuperMethod1()

End Sub

Sub mySuperMethod2()

End Sub
#End Region

Sub AnotherOne()

End Sub

Woud be in the tree:
B4X:
- Default Group
     - Main
     - TestCanvas
           - AnotherOne
           - myMethods
                 - mySuperMethod1
                 - mySuperMethod2
           - Process_Globals
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
but would make it possible to include the content of files outside of the project folder?
This will be possible in the coming version. You will be able to add modules without copying them to the current folder (or the shared modules folder).

Any chance that methods that are in the same #region are also automatically grouped?
Nice idea. Need to check it.
 

Eme Fibonacci

Well-Known Member
Licensed User
Longtime User
This will be possible in the coming version. You will be able to add modules without copying them to the current folder (or the shared modules folder).


Nice idea. Need to check it.

The issue is the new ability to manage large projects.
So please consider possibility the methods are ordered alphabetically inside regions.
 
Top