Project Tree

The Project Tree contains the list of files in each project included in your workspace. The active project name appears in bold. The active project determines which project you can build, debug, modify, and so on. An asterisk next to the project name indicates that the project has been modified since it was last saved.

To open and edit files, double-click the filename. For .fp files, double-click the filename to open the Select Function Panel dialog box; double-click the .fp file icon to open the .fp in the Function Tree Editor. For files not native to LabWindows/CVI, double-click the filename to open the file in the associated editor; double-click the file icon to attempt to open the file in a LabWindows/CVI Source window.

You can move files between folders and projects. To move a file to a new position in another project or in another folder, drag and drop the file. You also can copy files between projects in a workspace. To copy a file, press <Ctrl> while you drag and drop the file.

If you attach the project to a source code control system, a box appears next to the icon for each file in the Project Tree. An empty box means that the file is under the source code control. A box with a red checkmark, , means that you currently have the file checked out. A box with a blue checkmark, , means that someone else has the file checked out.

You also can view additional columns of information in the Project Tree. The columns include the date and time the file was last modified and the size of the file.

Right-click a project name to perform the following actions:

Right-click a file in a project, such as a source file or user interface file, to perform the following actions:

  • Open the file in LabWindows/CVI.
  • Edit the file. This option applies only to .fp files and files that are not native to LabWindows/CVI.
  • Save the file.
  • Exclude the file from the build. This option applies only to source files.
  • Enable the .obj option. This option compiles a source file without debugging information.
  • Replace the file with another file.
  • Remove the file from the project.
  • Compile the file. This option applies only to source files.
  • Get the latest version of the file from source control.
  • Check out the file from source control.
  • Check in the file to source control.
  • Undo changes you made to the file and check in the file to source control.
  • Browse the source file in the Source Code Browser. This option applies only to source files.
  • Open the directory that contains the file in Windows Explorer.
  • Find an item within the Project Tree.
  • Expand all items within the Project Tree.
  • Collapse all items within the Project Tree.

Right-click a folder to perform the following actions:

  • Rename the folder.
  • Remove the folder.
  • Add a folder under the currently selected folder.
  • Add an existing file to the project.
  • Create a new file from a template and add the file to the project.
  • Find an item within the Project Tree.
  • Expand all items within the Project Tree.
  • Collapse all items within the Project Tree.

Right-click an empty area of the Project Tree to perform the following actions:

  • Sort files by name, pathname, file extension, and date.
  • View the full pathnames of the files.
  • View the full date of the last modification of the file. This option applies only when you enable View»Columns»Date/Time to display the Date/Time column.
  • Find an item within the Project Tree.
  • Expand all items within the Project Tree.
  • Collapse all items within the Project Tree.

WAS THIS ARTICLE HELPFUL?

Not Helpful