View Full Version : [FIXED] Exported view files are getting modified every time Export is done.
8 Nov 2011, 7:45 AM
I am adding events and custom methods to the view classes that I create, but they often are modified again during export. Usually it is only whitespace that gets added, but sometimes code changes from earlier versions are getting reverted. I suspect that the Designer is caching a version and then reapplying the cached version.
Perhaps this is occurring because I leave the Designer open with my project and edit the view files in another editor. Then, if I re-export the files are reverted to what they were at the last export.
8 Nov 2011, 3:46 PM
If you prefer to use your own editor then go ahead. But when you do edit the files please close down and reopen Designer. We plan to add a file watch so it can refresh these changes correctly but for now this doesn't happen
1 Dec 2011, 4:37 PM
Mr_Rainbow, Could you specify whether you are updating the files in the ui folder or in the view folder?
2 Dec 2011, 6:55 AM
The files that were modified were in the view folder. That's why I reported it as a bug.
3 Dec 2011, 9:34 AM
All files under the app/ dir are constantly written to. We use reflection to read in and preserve any members or functions you've added with or without Designer. However right now that reflection only occurs on open and is cached in memory as you say. This is a limitation we hope to address soon
20 Feb 2012, 3:03 PM
This is a limitation we hope to address soon
I eagerly anticipate this fix because this isn't how Designer 1.2 did it, and overwriting the implementation classes seems like craziness to me. I guess this is happening because you're working towards people being able to use nothing but Designer to work on their implementations, but the code editor isn't looking anywhere near as capable and especially not as user customisable enough for this purpose yet.
28 Feb 2012, 11:28 PM
Please provide feedback:
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.