Previous Next
Menus

File menu
The Project Editor's File menu serves to issue commands for the currently selected file(s) of the File List.

File menu command Description
Check Out... Opens a Check Out dialog for checking out selected file(s).
Check In... Opens a Check In dialog for checking in selected file(s).
Lock... Opens a Lock dialog for locking selected file(s).
Unlock... Opens an Unlock dialog for unlocking selected file(s).
Delete Version... This command is enabled when the History window is open. Opens a Delete Version dialog for deleting a version of the selected file(s).If a version is selected in the Version Tree, this version is filled in as the default value of the dialog's Version field. If no version is selected in the Version Tree, SNiFF+ uses the Default Configuration of the working environment in which you opened the project. For more information, please refer to Default Configuration.
Replace Description This command is enabled when the History window is open. Replaces the description of the selected file(s) in the underlying version control tool.
Replace Comment... This command is enabled when the History window is open. Opens a Replace Comment dialog for changing the comment of a specific version of the selected file.
Select All Selects all entries in the File List.
Synchronize File... Synchronizes the currently selected files with the repository status. A Files Compared To dialog appears, where you can enter a configuration name. If Ok is pressed in the dialog, all selected working files in the File List are compared with the entered configuration.
In shared working environments, out-of-date read-only files are replaced with up-to-date versions from the repository.
In private working environments, out-of-date read-only files are replaced with a view to files in the corresponding shared environment.
The Synchronize Checkmarked Projects... command of the Project menu does exactly the same at project level. This command uses the update file command of the version and configuration adaptor.
Show Differences... Opens a dialog where you can enter two versions of a file (or multiple files) selected in the File List. After pressing Ok in the dialog the Diff/Merge tool opens.
For a discussion of how to manage versions and configurations with SNiFF+, please refer to Version Control.
Show File <filename> Opens the file in your preferred editor.

Project menu
You can use the Project menu to issue commands that browse or modify the attributes and structure of the projects in the Project Tree.

Click for full size, then use Back button

Project menu command Description
Add/Remove Files to/from project... Only enabled if the Project Description File (PDF) is writable. Opens the Add/Remove Files dialog. See also Add/Remove Files dialog.
Add New File to project... Only enabled if the Project Description File (PDF) is writable. The new file is added to the PDF which is highlighted in the Project Tree.
Add Visaj Project to project... Opens a dialog where you can enter a name - without any extension - for the Visaj project (the Visaj Project File Type must be included in project's Attributes). A file with the extension .vcl appears in the file list. Double-click on the .vcl file to open the Visaj Class Editor.
Add Subproject to project... Opens a Subproject File dialog where you can select the Project Description File of the subproject to be added. The project that you selected before choosing the Add Subproject... command becomes the superproject of the selected subproject.
Note: For absolute projects: To enhance the transportability of absolute projects, the specification of the subproject file can contain environment variables. Selecting files using the File dialog always writes the absolute file path into the Project Description File. Manually entering the complete subproject file specification in the text field retains environment variables and other shell metacharacters like '~'.
Add Subproject... > This command allows you to create a new Project using either the New Project defaults or a Project template. The newly created Project is then immediately added to the highlighted project as a subproject.
Remove Subproject project... Removes the selected subproject from the PDF of its superproject. Note that you cannot delete the Project Description File or any of the files of the subproject by issuing this command.
Save project Saves the project that is selected in the Project Tree. This menu entry is only enabled if the selected project has been modified. If Make Backup in the Tools node of the Preferences dialog is set, a backup file with the name projectname% is created.
Attributes of project... Opens the Project Attributes dialog. Please refer to Project Attributes for more information.
Reload Project... > Reloads the selected project from disk. The commands in the submenu are active if the Project Description File (PDF) has changed while the project was open, or when you want to discard all unsaved modifications to a project. If the structure of the selected project has changed, the corresponding files/subprojects are (un)loaded. The project attributes are also updated.
> In Current Working Environment Reloads the open project in the working environment you are currently working in.
> In Other Working Environment... Opens a dialog where you can select the working environment to reload the project in.
Close Project Closes all projects.
Check Obsolete Files Opens a dialog listing all the files which are in project directories, but which are not used in the projects, that is, they are not recorded in any of the PDFs in the Project structure. You can selectively filter and delete obsolete files.
Update Cross Reference Info Applies only to C/C++ projects. This allows updating of Cross-Reference information without reparsing symbol information. Subsequent Referred-By queries are then faster. To update Cross Reference information for Java and other languages, use the Force Reparse command.
Load/Update Symbol table Checks to see whether the symbol information of the files in the File List is current or not. If it is, no action is taken. If it isn't, those files where symbol information is no longer current will be reparsed. You should execute this command only when you have modified project files with tools other than SNiFF+. You can also use this command to incrementally load the Symbol table for projects that have been opened without symbolic information.
Force Reparse Reparses the files of the projects that are checkmarked in the Project Tree. Reparsing is necessary, for example, when the parser configuration file has been modified. Note that only files of projects whose symbol information is currently loaded into SNiFF+ are reparsed. In large project structures, reparsing can be time consuming.
For more information, please refer to Parser configuration file.
Delete Symbol Information Deletes all generated symbol information stored in the "Generate Directories" of the projects that are checkmarked in the Project Tree. Symbol file management is normally fully transparent to the user. This command is necessary only if the symbol files have a wrong modification date (due to a copy or some other reason) or are corrupt; then, when a project is closed, new symbol files will automatically be created.
Attributes of Checkmarked Projects... Opens the Project Attributes dialog for multiple projects, that is, for the projects checkmarked in the Project Tree. See also Group Project Attributes
Synchronize Checkmarked Projects Synchronizes all files in checkmarked projects with the repository files. Note that the checkmarked projects are reloaded in the current working environment after the completion of the command. See also Synchronize File....
Synchronize File Status Updates the File List display of the file read/write permissions of all files in the projects that are checkmarked in the Project Tree. If the files have changed on disk, they are reparsed and symbol information is brought up to date.
Display Statistics Opens a Display Statistics dialog. In this dialog, you can select the type of statistics that you want to see - either File Type, Symbol table, or both. Statistics are displayed for each checkmarked project in the Project Tree. When you press the Ok button, a Statistics dialog appears. For more information, see Statistics dialog.

Target menu
Please refer to Target menu.
Info menu
The Info menu in the Project Editor is a simplified version of the Info menu that is available in other tools. For a description of the commands below, please refer to Info menu.

Click for full size, then use Back button

View menu
Please refer to View menu.
Help (?) menu
Please refer to Help (?) menu.

Previous Next