On Fri, Oct 7, 2011 at 2:59 AM, Leandro T. C. Melo <[email protected]>wrote: > > About creating/editing the .shared file: Yes, it's not that nice, but > this file shouldn't change that often. Nevertheless, we are still > thinking of a nice form to automate this (we don't want to simply > propagate .user settings to the .shared file). >
Why not simply add an optional attribute that can be added to each xml tag? If you want to link the shared property to the user property (and thus allow silently editing it in the UI), you could just add an attribute like "userEditable='true'" to an element in the shared xml, and then that element (and any under it) would be kept in sync between the shared and user files. This solution would still be manual, but be a lot more flexible, in that the project admin would have the choice of whether they wanted the settings to work that way, and wouldn't require any special gui work at this point. One argument against it is that the shared settings would be changed silently, but they wouldn't be silent - they would show up in the project history. They are shared for a reason, after all. It simply allows the protocol for updating the shared settings fall under whatever protocol must already exist in any project involving collaboration on source. <>< <>< <>< Bryce Schober
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
