Entries Tagged as 'IDE'

Custom CFEclipse Dictionary - tweaking the code hints

tools , cftags , IDE 15 Comments »

I'm sure this is information you can get just about anywhere, but the assumption that everyone knows about it is silly.

I loaded up a file in CFEclipse just now and I got the little red "X" on the left margin of my cfstoredproc tag. For some reason I don't have the ColdFusion 8.0.1 dictionary loaded on this machine. I could have gone searching for it and all that, which might well have been just as easy, but instead I felt compelled to manually edit the dictionary file. If for nothing else, it was a good exercise.

Just so you all know, the dictionary files are here:
C:\Program Files\eclipse\plugins\org.cfeclipse.cfml_1.3.2.200901041029\dictionary

Now, of course, the exact path might change based on your preferences and version of CFEclipse. In this directory there is an XML file for each dictionary, and all are loaded up when CEclipse starts. I recently downloaded the XML dictionary for ColdExt (that'll be another blog post before long, I hope!) and dropped it in here.

So, to complete my thoughts for this post, I went into the cf8.xml file and copied the cachedwithin and cachedafter parameters from the cfquery tag to the cfstoredproc tag. After a restart of CFEclipse, WHALA! No more little red "X". Now you know, and that's half the battle!

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds