IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

IntelliJ IDEA provides extensive editing support for ColdFusion files, and facilities for deploying applications to the ColdFusion server.

In this section:

Prerequisites

Note

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 not, enable the plugin as described in Enabling and Disabling Plugins.

Note

ColdFusion server should be downloaded and installed on your machine.

ColdFusion support

ColdFusion files are marked with fileTypeColdFusion icon.

ColdFusion support includes:

  1. 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.
  2. 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.
    • Navigate | Declaration (Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+Alt+G, Escape, Period, Alt+Period or Ctrl+Button1 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF12, Shift+F2, Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF3 or Ctrl+Button1 ClickCommand B, Command Button1 Click or Button2 ClickCommand B, Command Button1 Click or Button2 ClickF3 or Control Button1 Click).
  3. Advanced facilities to search through the source code.
  4. 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 or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash or Ctrl+NumPad /Ctrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad //Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash, Ctrl+Shift+NumPad / or Ctrl+Shift+ColonCtrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+SlashAlt Command Slash, Alt Command NumPad /, Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift Slash).
  5. Viewing method parameters information.
  6. Run/debug configuration for ColdFusion.
To configure deployment to the ColdFusion server
  1. Open the project settings (Ctrl+Alt+SCtrl+Alt+SCtrl+Alt+SCtrl+Alt+SCtrl+Alt+SCtrl+Alt+SAlt+F7Ctrl+Alt+SCtrl+Alt+SCommand CommaCommand CommaCommand Comma) and click the ColdFusion node.
  2. 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 add (Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter) and specify the local folder with the application sources in the Directory Path field. Type the path manually or click browseButton.png 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 delete (Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand DeleteCommand DeleteCommand Delete).

See Also

Reference:

External Links:

Web Resources: