Two variable requests

  1. Cascading variable renames: When you rename a variable, it’d be nice to rename all the %references% to it automatically. Theoretically this should be easy, since you already have search/replace, right? :slight_smile:

    2) Reset all persistent variables to default values. I’m using a lot of persistent variables as it seems the only way to maintain state after a build failure (sort of comes back to my other request for build failures to pause rather than stop). However it would be good to be able to reset them all in one hit, from a sort of build hygiene point of view…

    Thanks!
    Steve
Posted By Steve Bennett on 23 Nov 2006 6:20 PM
1) Cascading variable renames: When you rename a variable, it'd be nice to rename all the %references% to it automatically. Theoretically this should be easy, since you already have search/replace, right? :)

Sounds like a good idea. For now you could do a search/replace yourself on the XML (as long as you save your project as fbp4, not fbz4). I have a few scripts I've written that work this way for things I want to do that aren't easy to do in the IDE - I have to save the project, run the script, then re-open the project.

Ah, interesting thought. And I’d probably script the search/replace stuff in FB itself…it’s surprisingly well adapted for simple parsing, search/replace etc.Steve