
Take a look - yes, you're getting column names in the completion list when working with a string literal in PHP. And notice how it works with aliases...
It's a prototype, but it's a good start, and we expect to have something like this working for you in NetBeans.next