| Project PaneThe project pane within the Simply Fortran environment is used to manage files within a project, including Fortran source files and libraries. The project allows files to be organized into arbitrary folders that do not necessarily correspond to the file system. This disconnect from the file system allows a developer to organize files in a manner logical for development rather than for file storage. The project pane is located to the left of the editor tabs , a space also shared with the outline panel . If the outline view is currently visible, clicking the project pane button, represented by the stylized file cabinet just above the outline view, will reveal the project pane. The project pane features a popup menu to access functionality. Right-clicking within the pane opens the popup menu. The functionality of the popup menu is described below. Files within a project can be opened simply by double-clicking the file in the project pane. Folders in a project can be expanded and contracted by double-clicking as well. Project Pane MenuThe project pane menu contains functionality for managing a project . Adding and Removing ItemsThe options for adding and removing files and folders within a project. Selecting Add Folder… opens a dialog where the user can specify the name for a new folder within the project tree. Again, this folder does not correspond to filesystem folders, but, rather, is used purely for project organization purposes. The resulting folder will be added to the parent folder that was selected when the project menu was instantiated via right-click. Similarly, files may be added to a project via the Add File… option. When this item is selected while another item is highlighted in the project pane, a file dialog is presented to the user. If a file is selected, the file is added to the project tree within either the selected folder or the parent folder of the selected non-folder item. Any file can be removed quickly by selecting the item in the project tree, right-clicking to bring up the menu, and selecting Remove Item…. Removing a file will not delete the file from the disk. Enabling and Disabling FilesAny individual file may be enabled or disabled, effective including or excluding the file from the build process respectively. The feature is useful if, for example, a project has duplicate modules or multiple program units where only one should be compiled at a time. By disabling a file, the file will be excluded from compilation and dependency searches once the makefile is (re)generated while still remaining in the project structure. The following icons designate an enabled or disabled file in the project pane:
Viewing a Project’s MakefileFor a saved project, selecting View Makefile will open the project’s most recently built makefile in an editor window. The makefile will only appear if the project has already been saved and the “Generate Makefile”:“makefile”:../building/makefile.html option or related build procedure has already been executed. Project Loading and SavingProjects may be loaded and saved directly from the project pane’s popup menu. By entering the File submenu in the popup menu, the user can elect to load and save the current project, or, alternatively, a new project may be created. This functionality is similar to that of the environment’s File menu . BuildingBuilding functionality is also available from the popup menu via the Build submenu. This submenu provides access to cleaning, makefile generation, building, and launching, similar to that found in the environment’s Build menu . OptionsThe Project Options dialog is also accessible via the Options… item in the popup menu. ResizingThe project pane always occupies the leftmost region of the development environment. However, the pane may be resized horizontally at any time by dragging the thin separator between the project pane and the editor. See AlsoProject Management |