IntelliJ IDEA provides extensive editing support for ColdFusion files, and facilities for deploying applications to the ColdFusion server.
On this page:
Before you start working with ColdFusion, make sure that the CFML Support plugin is enabled. The plugin is bundled with IntelliJ IDEA and is activated by default. If the plugin is not activated, enable it on the Plugins settings page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
ColdFusion server should be downloaded and installed on your machine.
ColdFusion files are marked with icon.
ColdFusion support includes:
- Coding assistance:
- Code completion for tags, attributes, attribute values, functions and variable of the current scope, function arguments, functions of Java classes and components created through 'createObject' function, for components' and Java classes' names in 'createObject', for inherited methods of a component.
- Error and syntax highlighting.
- Code formatting and folding.
- Numerous ways to navigate through the source code, among them:
- Advanced facilities to search through the source code.
- Code generation
- Viewing method parameters information.
- Run/debug configuration for ColdFusion.
To configure deployment to the ColdFusion server
- Open the Settings dialog box (Ctrl+Alt+S) and under the Languages & Frameworks node, click the ColdFusion.
- On the ColdFusion page that opens, specify mappings between local folders with the application sources and the paths on the server.
- To add a new mapping, click (Alt+Insert) and specify the local folder with the application sources in the Directory Path field. Type the path manually or click and choose the folder in the dialog that opens.
- To remove a mapping from the list, select the mapping and click (Alt+Delete).