Code hyperlinking

Have you tried this out? This is a handy thing indeed and is one of my favorites. Code hyperlinking works on CFCs, UDF calls in local and included files, and CFC methods. Just doing a Ctrl+Click on the CFC or method name takes you to the CFC or the method code respectively. It also works on the template file in <cfinclude> tag. As for CFCs, it works within createObject(), <cfobject>, <cfinvoke>, new operator, and in ‘extends’ and ‘implements’ attributes of cfcomponent. Hyperlinking works with method calls in <cfdump> as well. In addition to these, if you have variables mapping for CFCs in your project, Ctrl+Click-ing on variable_name.CFC_method_name takes you to the method code.

3 Responses to Code hyperlinking

  1. Chris says:

    That’s awesome! Gotta try it when this comes outta beta. It’s still too buggy for me 🙁

  2. Mike Henke says:

    Keep up the great work on CFBuilder and the posts. Sounds like the ctrl+click works like ant files in Eclipse.

  3. It seems to me that this functionality is basically limited to imports/object creations and includes that occur within that particular template or template chain.
    If you are using an as object factory pattern such as the ones found in popular framework such as ColdBox, MachII etc to create your objects, include UDFs, implement Dependency Injection with ColdBox or Lightwire, etc. then this will not work for you. Am I correct?
    Am I missing some way in which you can tell the editor where the CFC is located and have it remember and start “learning” the app framework you are working in?
    Thanks!
    Christine