[request] IDE: want a reset feature to get import repeated --- workaround
Bug #704981 reported by
RaiMan
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Won't Fix
|
Medium
|
RaiMan |
Bug Description
workaround: use reload() (see docs)
-------
With the new feature "import other .sikuli", you always have to restart the IDE, if something is changed in an imported script. This might be inconvenient, if some tabs are open.
A button like the run-button would be helpful, that internally resets the IDE, so that imports are done again.
Changed in sikuli: | |
importance: | Undecided → Wishlist |
summary: |
- [request] want a reset feature for IDE + [request] IDE: want a reset feature to get import repeated |
Changed in sikuli: | |
importance: | Wishlist → High |
assignee: | nobody → Tsung-Hsiang Chang (vgod) |
Changed in sikuli: | |
status: | New → Triaged |
Changed in sikuli: | |
status: | Triaged → In Progress |
milestone: | none → x1.0 |
Changed in sikuli: | |
assignee: | Tsung-Hsiang Chang (vgod) → RaiMan (raimund-hocke) |
importance: | High → Medium |
tags: | added: idererun |
Changed in sikuli: | |
milestone: | x1.0 → none |
status: | In Progress → Won't Fix |
description: | updated |
summary: |
- [request] IDE: want a reset feature to get import repeated + [request] IDE: want a reset feature to get import repeated --- + workaround |
To post a comment you must log in.
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