File Filters
(Redirected from Man 2 ch08s11)
The files filters allow you to group files types from the usage point of view. Once a file filter is created, you can view, hide, or open files based on a filter in the File browser contextual menu.
The file filters consist of:
- a label.
- whether or not the filter as defined in the Filetypes in filter hides the retrieved files or shows them.
- a list of filetypes, as defined in the Filetypes part, separated by a colon.
You add, modify, delete, or move file types the same way it is described in external-browsers Section 8.1, “Customizing browsers”.
Example VIII.2. Adding a file filter
Following with our example in Section 10, “Modifying file types”, we can add a stylesheet filter to group css and xsl stylesheets together.
To add a stylesheet filter, execute the following steps:
- Click on the Preferences... icon in the main tool bar to access the Edit preferences panel.
- Click on the Filetypes tab to display the Filetypes panel.
- Click on the Add button in the Filefilters part at the bottom. A new line will be shown, with an Untitled label.
- Double-click on the label to allow editing, and enter the string you want to appear in the Label field. Here enter All stylesheets.
- Check the Inverse filter box.
- Click in the Filetypes in filter field and enter the filetypes you want to group together, separated with a colon. Here it is stylesheet:xsl stylesheet.
- Click on the OK button to save and close the panel.