When you create a project, you must specify a folder to hold the project file. This folder must already exist somewhere on your computer. If the existing folder has files and subfolders, you can add them to the project.
After creating the initial project you can add, edit, and delete folders in the project as necessary. You can also add and remove individual project files.
Before creating a project, you can optionally set options to apply to all new projects. Or you can go ahead and create a project, and edit its properties later if necessary (see "Working with a Project").
The following table provides information about each setting.
Setting |
Description |
---|---|
Maximum recent projects |
Maximum number of projects to appear in the drop-down list of projects in the top pane of the Projects Resource tab. |
Default project folder type |
Manual include or Auto include. For a description of manual-inclusive and auto-inclusive folders, see "Physical folders". |
New auto-include folders include subfolders |
If selected, a new auto-inclusive project folder will include in the project not only the files it contains but also the files and folders in its subfolders. |
Include project resources checkbox and the resource table |
For instructions to select, add, edit, and delete default resources for a new project, see "Working with resources". |
Options in the Projects > Deployment pane |
For a description of these options, see "Setting Project Level Deployment". |
The New Project dialog box appears.
Alternatively, you can type the file extensions for the types you want included, separated by a semicolon; for example htm;html;gif;jpg;jpeg;png
.
When you add a folder to a project, you must decide where that folder falls within the project tree. You can add a folder to the project root or you can add a folder to an existing folder.
There are some limitations to where you can add virtual folders. Virtual folders can only be added to the project root or to another virtual folder. You cannot add a virtual folder to a physical, but you can add a physical folder to a virtual folder. Also, you cannot place a virtual folder under source control, and files in a virtual folder must be manually selected for deployment. So, only use virtual folders when you need a container to hold a number of files in different locations.
When you create a physical folder, you are in essence just creating a reference to a directory that already exists on your computer.
For a full description of each type of folder, see "About project folders".
The Add a Project Folder dialog box appears.
The folder is added to your project.
The Add a Project Folder dialog box appears.
The manual-inclusive folder is added to your project. You must manually add files in order to populate the folder.
The auto-inclusive folder is added to your project and is populated according to the options you set in steps 7 and 9.
The Edit a Project Folder dialog box appears.
For details, see "To add a physical folder:".
The folder is removed from the project. This has no effect on the actual files in the mapped directory; you have only removed the reference to the folder in the APF file.
The methods for working with a file in a project can vary slightly, depending on the type of folder that contains the file.
You can perform standard drag and drop operations to move files from the Projects file list in the bottom pane of the Projects tab into project folders. You can also drag files from the Project tab to the Editor for editing.
The process for adding and deleting files is the same for both virtual and manual-inclusive folders. However, you cannot use these methods for adding files to or removing files from an auto-inclusive folder.
The Add Files to Folder dialog box appears.
You can select multiple files by holding down the Shift or Ctrl key.
The files contained in the selected folder appear in the Project file list.
The file is removed from the project. This has no effect on the actual file in the mapped directory; you have only removed the reference to the file in the APF file.
You control the files that are included in an auto-inclusive folder by specifying the files types that are allowed. You can change the file types at any time to alter the included files.
The Edit Folder Properties dialog box appears.
The list of included files is filtered according to the extensions you specified.