View Full Version : Can the same project be modified in both Sencha Designer and any other Tool?

10 Feb 2012, 10:47 AM
Based on Sench Conference Designer Vide I assumed that the same project can be modified using both Sencha Designer Tool and also any other Development Tool of choice like Visual Studio, Aptana, Notepad, etc.
We did a simple test: created a project with a single from in Designer. Form has a single button. Then we opened the source in Notepad and modified button label as

xtype: 'button',
itemId: 'mybutton',
text: 'Modified'

When you run application you see a new 'Modified' text.
But if you open the same project in Designer, it still displays original Button text.
We found that label is also stored in the metadata files that developers are not supposed to modify. And this is why the old label is displayed in Designer.

Is this a bug with Designer?

10 Feb 2012, 4:50 PM
Is this a bug with Designer?
No, the files that are in the ui directory the designer "owns". You can never touch them outside. They are one to one with the metadata.

13 Feb 2012, 3:43 AM
Well - this sounds like a serious drawback. There are a number of reasons why you would want to modify files outside Designer, the missing support for code completion being one of them.

Are you considering rescanning the contents of project files, or is this behaviour by design / intended?