Example jscript:
var aGlobalVar = 1;
function aFunction(){
aGlobalVar = 2;
}
function anotherFunction(){
var aLocalVar = 3;
//insertion point here
}
If I'm typing in anotherFunction() as indicated, and I press Ctrl+SPACE, the content assist box contains neither aGlobalVar nor aFunction(), but it does give me aLocalVar. Any ideas why this happens? I've tried many javascript editors, and Netbeans is my favorite, except for this one issue. I'm using Netbeans IDE 7.0
Edit:
interestingly enough, everything does show up properly in the Navigator panel.
some screenshots:

