6 Apr 2012 8:16 AM #1
I find that often I will do things like go to one store to look at how I referenced a web service, then back to the original store I was working on. I have not found a "back" button or history. Is it available someplace?
6 Apr 2012 8:26 AM #2
Ctrl+Z, Option+Z, Edit -> Undo
Ctrl+Shift+Z, Option+Shift+Z -> Redo
You can undo/redo the history for each top level component. One thing that is worth noting is that the Designer takes the approach of having individual history stacks for each top level component rather than a global history stack. This is exactly what you want in many cases but not what you want in other cases. It's important to distinguish the difference.
For a concrete example:
Start an Ext 4 Project
Add a FormPanel as a top level component
Add a field set within that form
Add two textfields within that fieldset
Select the form
Resize the form by dragging the named handle at the bottom right of the form
Add a Grid as a top level component
Rename the 4 columns by double clicking on their text to "Column A", "Column B", "Column C" and "Column D"
With the grid still selected, undo twice and you'll see now only two columns are renamed.
Now select the form, undo once and you'll see the resize is taken back.
Now select the grid again and redo twice and you'll see the two columns are renamed back.
Each top level component has its own history stack. Each code editor also gets its own history stack.Aaron Conran
Sencha Architect Development Team
7 Apr 2012 10:22 AM #3
Thanks for the information on Undo/Redo, that's great to know.
I believe he was referencing workflow, and I understand the frustration. When a project gets large, it would be nice to be able to switch between open components quickly. Something like a tab bar on the top much like most tabbed editors would be really nice. It's rough when I'm working on e.g. a form that references a model, etc., and they are far removed in the project inspector.
7 Apr 2012 10:43 AM #4