Wish IDE - Do not remove empty GROUPS automatically

I thought assets folder does not allow any subfolder.
We can add new subfolders with code when the app runs.
 
I thought assets folder does not allow any subfolder.
We can add new subfolders with code when the app runs.
Not when the app is running, you can create subfolders in the IDE "manually".

For example, in the Files Manager folder I have:
1701445905282.png


In my custom project template I have that structure but I'm forced to put fake files in it otherwise the IDE would remove the subfolders.
 
Is the structure important during runtime?
Or you can copy the files to DirInternal to have the files in different subfolders.
 
Is the structure important during runtime?
Or you can copy the files to DirInternal to have the files in different subfolders.
You create the subfolders and see them in the IDE; in the code you access them (read only) using File.DirAssets, all of them, without distinction by subfolders.
In DirInternal, which has nothing to do with this, you can create as many subfolders as you want.
 
I know but the "Folder" in Files Manager is not actual folder. It is for grouping purpose.
Erel has explained this when the feature was added.
 
I have no question.
I just think that no point to keep empty folder for assets.
I only agree if we have empty folder in DirInternal.
Usually I have empty folder such as "Uploads" or "Temp" in B4J project inside Objects (DirApp) folder. In this case, it makes more sense.
 
Back
Top