## Adding File Filters

You can add custom file filters to the File Chooser to easily view file types you edit frequently.

To do this, you must edit the file ExtraFileChooserFilters.xml in the main RText installation directory. In this XML file, you can define filters to add to the File Chooser, and several properties for these filters. The format for a file filter is as follows:

       <ExtensionFileFilter name="Foobar Source Files"
             ignoreCase="true|false"
             showExtensions="true|false">
          <Extension>foo</Extension>
          <Extension>bar</Extension>
       </ExtensionFileFilter>

In the previous example, a file filter will be added filtering everything except "Foobar" source files, which are files with the extension "foo" or "bar". Notice that you should not include the initial period at the beginning of extensions.

See also: The File Chooser, The 'File Chooser' Options Panel