var scoping


is there a reliable tool for script and tag and mixed syntax for checking var scoping issues?

Best regards,


There used to be var scope but it was never continued to be developed.

Luis Majano
Ortus Solutions, Corp
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform:

ContentBox Platform:
Linked In:

Social: | | |

Yeah, Var Scoper only worked on tags if I recall. Same issue with the Rancho code coverage tool

I’d like to see something like this be added as an extension to Lucee. Writing a community tool would be difficult since one would basically need to rewrite an entire CFML parser from scratch. It would made sense to plug into an engine’s existing language parser.

I like things like Railo/Lucee’s “Local scope mode”, but it’s incompatible with ColdBox since we use variables scope on purpose in CFCs to maintain scope. Now, a solid argument can be made that we should prefix those with “variables.”.

Related tickets:

Perhaps we should also add one for supporting Railo/Lucee’s local scope mode.



ColdBox Platform Evangelist
Ortus Solutions, Corp

ColdBox Platform: