0 Replies Latest reply on Jun 22, 2010 2:36 AM by Adam Cameron.

    Refactoring bites

    Adam Cameron. Level 5

      Sigh.

       

      I have this code:

       

      <cfscript>

          variables.st = structNew();
          variables.st.one = "tahi";
          variables.st.two = "rua";
          variables.st.three = "toru";
          variables.st.four = "wha";

      </cfscript>

       

      When I select the first variables.st and right-click and ask to refactor it (to variables.myStruct or something), CFB only noticed the very instance of that variable I selected.  It doesn't notice any of the rest of them.

       

      I have to say that every attempt I have made to use refactoring in this application has resulted in a resounding fail so far, for one reason or another.  It doesn't seem like the feature is production-ready to me.

       

      --

      Adam