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.
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
- Generating code stubs based on file templates during file creation.
- Inserting, expanding, and generating code blocks using live templates.
- Creating various applications elements via intention actions.
- Ability to create line and block comments (Ctrl+Slash; Ctrl+DivideCtrl+Slash; Ctrl+Divide/Ctrl+Shift+Slash; Ctrl+Shift+DivideControl Shift Slash; Control Shift Divide; Command Shift Slash; Command Shift Divide).
- Viewing method parameters information.
- Run/debug configuration for ColdFusion.
- Open the project settings (Ctrl+Alt+SCommand Comma) 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+InsertControl N; Control Enter) 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.
In the Logical Path field, type the URL address on the server to deploy the contents of the specified local folder to.
- To remove a mapping from the list, select the mapping and click (Alt+DeleteCommand Delete).
- To add a new mapping, click (Alt+InsertControl N; Control Enter) 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.