Projects contain resources such as ColdFusion components, interfaces, and CFML pages that you can use to develop ColdFusion applications.
Each project is stored in a default workspace. The workspace stores your projects and other metadata. The preferred workspace location is the ColdFusion document root
You can associate a project with a ColdFusion server. By doing so, you can test the project before final deployment.
To preview files in your project using a web browser, ensure that you have set your project location to the ColdFusion document root.
To do any CFML development in ColdFusion Builder, you first create a ColdFusion project. To know more about creating a project in ColdFusion Builder, see Creating a ColdFusion project.
Select a server from the Server pop-up menu. If you have not configured a ColdFusion server, then click Add Server to add a server. For more information about setting up a ColdFusion Server, see Adding ColdFusion servers.
If the project is in the server web root, then the Sample URL box is automatically populated with the server URL. For example, http://127.0.0.1:8500/eval, where 127.0.0.1 is the server host, 8500 is the port number, and eval is the project name.
You can use the Properties dialog box in ColdFusion Builder to configure project properties and server settings.
To open this dialog box, right-click the project in the Navigator view and select Properties.
- Select ColdFusion Project from the left pane of the Properties dialog box. You can add and remove external projects as links here.
You use variable mappings to provide Code Assist for component variables that are not defined in the file being edited or in the included files.
- To open the ColdFusion Server Settings page, select ColdFusion Server Settings in the left pane of the Properties dialog box.
- To create a ColdFusion Server instance, use the Servers pop-up menu.If you have already configured a server instance, you can assign it to your ColdFusion project. For more information about creating a server instance, see Adding ColdFusion servers.
ColdFusion Builder provides wizards that guide you through the creation of ColdFusion pages, interfaces, and components.
You can also add the following types of files to your ColdFusion project:
- .lxr (lexer file)
- .col (colorization file)
- .sdoc (ScriptDoc file)
- Untitled versions of the preceding files
In addition, you can create generic text files, folders, and projects. You add these files to a project much as you add ColdFusion pages or components. To add any of these files to a project, do the following:
You can designate a specific file as the Launch Page for your project. This page is loaded when you run/debug a file in the project.
You can export files and folders from a ColdFusion Builder or non-ColdFusion Builder project to a designated location. However, for ColdFusion Builder projects, ColdFusion Builder functionality like server settings, preferences, and such are not exported.
When you delete a project, you remove the project from the current workspace. You can also remove the project from your computer’s file system at the same time.
In ColdFusion Builder, you can cloak or hide files, file types, and folders from all synchronization, upload, download operations. This feature is useful if you have a large directory of files that you want to exclude from your synchronization or uploads.
You can cloak a file or folder in two ways:
- Right-click the file or folder in the Navigator view and select Synchronize > Cloak this file type. To uncloak the file type, right-click the file or folder and select Synchronize > Uncloak this file type.
- Set up your preferences to cloak certain file types, using wildcards and regular expressions by performing the following actions:
You can link to resources outside the project and workspace. This feature is useful when you have to use resources that are available on shared locations. The linked resource or the folder that contains linked resources appear as follows:
When you link to resources, you can define path variables instead of providing the full path to where the resource is stored. You can define a path variable and then set the path to the resource that you want to link to.
The list of existing resource variables is also available by selecting Window > Preferences from the main menu and then selecting General > Workspace > Linked Resources. You can edit and create linked resource variables using the Linked Resources dialog box.