IntelliJ IDEA provides extensive editing support for ColdFusion files, and facilities for deploying applications to the ColdFusion server.
In this section:
Before you start working with ColdFusion, make sure that CFML Support plugin is enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If it is not, enable the plugin as described in the section Enabling and Disabling Plugins.
ColdFusion server should be downloaded and installed on your machine.
ColdFusion files are marked with icon.
ColdFusion support includes:
- 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 click the ColdFusion node.
- 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 box that opens.
- To remove a mapping from the list, select the mapping and click (Alt+Delete).