B4J Tutorial [B4X] Modules, Files, Groups and Folders

Not open for further replies.
The latest IDE update adds support for grouping files and modules.



You can add groups with a right click and you can move files or modules by dragging them to the new group.
Groups can be nested.

The most important point is that the files or module files are not really moved. Groups are not folders. They are just used to organize the resources inside the IDE.

Referenced Modules

An important new feature is the ability to reference code modules instead of copying them to the project folder.
This feature makes it much easier to share modules between different projects, including projects of other B4X tools.
When you add existing modules, by clicking on the menu or by dropping the module files on the modules tree, you are asked how should the modules be added:


Copy to folder: Copies the modules to the project folder (same as the current behavior).
Link - relative path: Adds a link to the modules with a relative path. Useful when the folder is under or close to the project folder.
Link - absolute path: Adds a link to the modules with an absolute path.

Tip: if you want to move current modules to a different folder (not group):

1. Open Windows Explorer and navigate to the target folder.
2. Drag the modules from the modules tree to Windows Explorer. You can also copy and paste them.
3. Drag the modules back from Windows Explorer to the modules tree. The new modules will replace the existing modules.

The IDE shows the path to linked modules:


Note that all modules are monitored for external changes and are updated automatically when the file changes. You can undo the changes.

The shared modules feature, set under Tools - Configure Paths, still works. If a linked module is not found then the IDE will look for it in the project folder and then in the shared modules folder.
Last edited:


Licensed User
In my version in appears that this applies to the "Modules" window rather than "Files" window !?
Not open for further replies.