Question about subfolders

discovering Codea and love2d at the same time, I have noticed that when you create subfolders to store some lua scripts in Codea, and you want to edit them, they don’t display any colour on the text and you don’t have any help for writing code cause it is not the same editor window. Is there a way to access those files with the main editor or should I first write those scripts at the root then move them to subfolders?

Many thanks to the community :slight_smile:

I believe this feature is been worked on. I recommended this feature.

1 Like

@YoothG - not quite sure how you have your pad set up. I often use folders to hold assets in the Codea root folder and addressing them directly isn’t a problem.

I usually use subfolders for assets, yes, so I can separated UI graphics, or sounds and music.
But I also wanted to separate the scripts so the different phases of gameplay would be together in their respective folders.

for example

GAME
main.lua
L_____SOUND
footspet.wav
impact.wav
L_____MUSIC
level1Song.wav
level2Song.wav
Menu.wav
L____ MAIN_MENU
mainMenu.lua
L_____LEVEL
enemies.lua
player.lua
map.lua
items.lua
L_____INVENTORY
inventoryUI.lua
inventoryData.lua

the lua scripts inside the subfolders , I can edit them, but when I do that , I don’t have the coloring or the help syntax tools.