Yeah this is really annoying. Import of other .sikuli is very useful for anything more than a toy example, and it's a pain to have to restart the IDE every time the imported .sikuli is changed.
A workaround is to edit the scripts in a separate IDE instance where I never run them, and run them from command line with "sikuli_ide.sh -s -r ...", but that defeats the "I" in the "IDE".
Import should just work automatically on every run. For reference, the boilerplate that I'm using for import:
bundle_path = os.path.dirname(getBundlePath())
if not bundle_path in sys.path: sys.path.append(bundle_path)
Yeah this is really annoying. Import of other .sikuli is very useful for anything more than a toy example, and it's a pain to have to restart the IDE every time the imported .sikuli is changed.
A workaround is to edit the scripts in a separate IDE instance where I never run them, and run them from command line with "sikuli_ide.sh -s -r ...", but that defeats the "I" in the "IDE".
Import should just work automatically on every run. For reference, the boilerplate that I'm using for import:
bundle_path = os.path. dirname( getBundlePath( )) append( bundle_ path)
if not bundle_path in sys.path: sys.path.
import my_utility_ sikuli_ module