SyntaxDictionaries

last edited byusericonlmajano on 10-Aug-2010

<< Back to Dashboard

Contents

ColdBox Syntax Dictionaries

In this guide, you will learn how to install the ColdBox Syntax Dictionaries for CFEclipse and Dreamweaver.

CFEclipse Dictionary

Thanks to CFEclipse you can have custom language dictionaries loaded right into your editor. Thus, I created the language dictionary for The ColdBox Framework. You can download it via the link below or just download the ColdBox Bundle package that includes all the IDE extras:

This will provide you with function insight to every method a handler/plugin/layout and view inherit. You will also have insight into the controller object, the event object or the rc scope if you define one.

Installation

  1. Download the above zip file, expand it and you will have a coldbox.xml file.
  2. Exit Eclipse or make sure it is not opened
  3. Browse to < eclipse install path >/plugins/org.cfeclipse.cfml_<version number>/dictionary/ and move coldbox.xml into that directory.
  4. open up the dictionaryconfig.xml file that is in that directory and add the following XML above in each version of coldfusion you would like ColdBox insight into. Look at sample below:
<version key="cf8" label="Coldfusion 8">
	<grammar location="cf8.xml" />
	<grammar location="user.xml" />
	<grammar location="coldbox.xml" />
</version>
<version key="cfmx701" label="Coldfusion 7.01">
	<grammar location="cfml7.xml" />
	<grammar location="user.xml" />
	<grammar location="coldbox.xml" />
</version>
<version key="bd70" label="BlueDragon 7.0">
	<grammar location="cfmlBD70.xml" />
	<grammar location="user.xml" />
	<grammar location="coldbox.xml" />
</version>
  1. Start Eclipse and welcome to ColdBox scope and function insights.

Dreamweaver Dictionary

Two simple steps to follow

STEP 1:

Double click the CBHints.mxp file.

STEP 2:

Click Accept

That's it Now restart Dreamweaver and you're ready to roll.

Related Guides

 
Download in other Formats:
markup Markup | pdf PDF | swf SWF | html HTML | word Word

comments Comments (2)

gknight593@gmail.com's Gravatar

gknight said

at 11:27:39 AM 09-Mar-2010

So I guess I'm confused. ColdBox Dictionary is only available through the CFEclipse project, right? Not in CFBuilder.
lmajano@gmail.com's Gravatar

Luis Majano said

at 12:26:14 PM 09-Mar-2010

At the moment yes, however, we will build the syntax dictionaries for CFBuilder also