Quite often (although not all the time), if one is typing some code and one wants to reference a variable, one can start typing its name, press CTRL-SPACE and CFB will show a drop-down of variables matching what’s been typed in thusfar; one can then select a variable, and CFB completes it for you. Excellent.
Except that it seems very flaky, often not picking up some variables (but is fine with others). I wondered if variables were only "noticed" wn the file is saved or something, or every 5min or [I dunno, they were random guesses]. I could find no rhyme or reason to it. I could type in two <cfset> statementes:
<cfset someVar = "foo">
<cfset someOtherVar = "bar">
And someVar would be offered, but someOtherVar would not be.
Sometimes variables wouldn’t show up for a while, but later I’d notice they would be.
What’s the mechanism in play for populating the dropdown?
No, there is nothing like variables get picked on file save or at intervals. The issue looks odd, but I could not reproduce it. Could it be happening in any specific context? Or does it happen in a blank file with only those 2 lines also?
Adobe ColdFusion Builder Team
Those two lines were just for the sake of contextualising what I mean, the "live" code is in substantially bigger files (which, as per my other post, I cannot replicate here).
How did you attempt to replicate this?