I have just checked in some new functionality to CFEclipse, again this is not complete, but it works for some things. I mentioned I had added Component insight previously, well, that has been removed now, but just for the moment since I am adding generic variable insight.

The variable insight is a way of parsing variables that you set in your document and giving you completion for those variables. It is a work in progress and so far I have added  completion for:

  • CFQUERY (name and result): including showing column names if they are in a SELECT statement
  • CFDIRECTORY
  • CFFTP (name and result)
  • CFSEARCH
  • CFCOLLECTION
I have also added completion for CFPARAM so if you do something like:
<cfparam default="" name="FORM.this" />
<cfparam default="" name="FORM.that" /> 

then you will get content assist when you type "FORM." and the same for any variable scope.

This works by having a VariableParser run that makes a list of variables in your document when you hit the ".". I need to extend this parser to handle the contents of <cfset>  and <cfscript>, once that is done, I shall be looking for components so that you can get insight into those too.

UPDATE:
Here are some screenshots of it in action:
1) CFQuery "name" completion:
 
2) CFQuery "result" completion:
 
3) FORM variables:
 
4) SESSION variables:
 
5)I also added a way to view  ALL variables if you type a space and ctrl + <space>: