I have just returned to do some App coding after about a year away not coding.
I used to use a really easy to use SDK called ‘OUTLAW’ by J Whye. That is not working or accessible any more (?).
So I have been looking through the forums at what people have been using. I have settled on Sublime Text 3 (ST3) .
I have got ST3 running and editing and testing ok, fantistic… until I try sharing common code files across different projects.
I cannot get the projects to work without actually copying the shared code into the same project folder.
This used to be straight forward and no problem on ‘OUTLAW’, but I am missing something but cannot see what might be stopping me share code across ST3.
I have tried adding folders to project and they get included and can be edited but when I run the Corona Simulator they fail with …Module ‘Utilities.xx’ not found: no field package.preload[‘Utilities.xx’]
This is the Lua Corona line that fails… [Note it works fine if the utilities folder is within the main.lua folder as well , but not in a different folder when added to the project.]
local p= require “Utilities.xx” – utilities for cross app use -
I have checked the project file and the Path command looks reasonable. Any suggestions of what might be the problem would be very much welcomed
Thanks
{
“folders”:
[
{
“path”: “/Users/MyNewMacbook/Documents/iPAD Apps/iPs NEW CODE/Trends/Main Files/Utilities”
},
{
“path”: “.”
}
]
}