ColdFusion
IntelliJ IDEA provides extensive editing support for ColdFusion files, and facilities for deploying applications to the ColdFusion server.
On this page:
Prerequisites
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 it is not, enable the plugin as described in Enabling and Disabling Plugins.
ColdFusion server should be downloaded and installed on your machine.
ColdFusion Support
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:
- Ability to open a file or component with the specified name.
- Navigating with Structure View.
- (Ctrl+B).
- 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+Shift+Slash).
- 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.
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+Delete).
-
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.
See Also
Last modified: 23 November 2016