You are here: Projects > File Locations and Source Settings > File Type > Add or Remove File Extensions Searched

Programs

This section describes the procedures required to include various programming language source code files in a project, add or remove file extensions searched, and open results with the desired viewer / editor.

Programming language source code files can be physically stored in one of two Locations:

To include selected programming language source code files in a Project, you must select and configure one or more of the possible locations these corresponding files can be stored within. You must also include the programming languages in the Customization Wizard.

To include the programming languages used in your development environment:

  1. Select ( enable ) the applicable vendor technology stacks, web & bundled software apps on the Software Platforms Used tab via the main menu Tools -> Customize -> Source :

    Note: You may access the same dialog box with a simple right-click on the desired programming language in the expanded Source panel on the left of the main application screen.

  2. Or click on the Individual Components tab, locate the Programming Languages sub category.

  3. Click on the desired programming language(s), then click on the Apply button to show / hide these available source document types within the Include sections of the corresponding source location Options tabs in the Project Settings configuration dialog. See below for example:

    Note: The See more link located at the end of the Include lists, when clicked, auto refreshes the list of available items to include the "hidden" but available source items. When a "hidden" item is checked, it will become visible going forward on the Source panel on the main screen and automatically be included in your custom program settings.

  4. Refer to See Also links below for more info on managing project settings.

Add or Remove File Extensions Searched

Within many organizations, corporate file-naming standards are often used for common programming language functions. You may apply the same syntax-aware parsing of content for a given programming language by adding these file extensions to the corresponding source item.

  1. To add a new custom file type, from the main menu Tools -> Customize -> Association File Types

    1. Click on the  Add New button. A dialog will appear (as below).

    2. Enter the name of the new file extension (without the leading ".").

    3. Select the desired programming language Search Syntax to be applied to contents of documents using this file type extension.

      Alert: You may only associate (add) unique custom filename extensions to one or more programming language. So, for example, if you wanted to associate the file extensions “sam” to be parsed as a Java file, and / or a C# file, you can add the same file type "sam" selecting each search syntax you would like it parsed with. However, this may produce duplicate search results for each search syntax with the same file and is not recommended.

    4. Chose an Opens With viewer / editor.
    5. Click on the  OK  button. The new file extension will be added to the File Type Extension list.
  2. To remove a file extension:
    1. In the File Type Extension list, click to select the file extension you want to remove.
    2. Click on the  Remove  button. The selected file extension will be removed from the list.

    Alert: You will not be able to remove any of the standard default file extensions associated with each Programming Language.

  3. To apply your changes, click on the  OK button.

See Also: