File Filters: Difference between revisions
Jump to navigation
Jump to search
m Created page with '__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=11. Modifying the files filters |prev=Man 2 ch08s10 |Subtitle=Chapter VIII. Customising Blue…' |
Bill Valaski (talk | contribs) m moved Man 2 ch08s11 to File Filters |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Man2top | {{Man2top | ||
|lang=en | |lang=en | ||
Line 10: | Line 8: | ||
|next=Man 2 ch08s12 | |next=Man 2 ch08s12 | ||
}} | }} | ||
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 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. | ||
Line 35: | Line 33: | ||
# Click on the OK button to save and close the panel. | # Click on the OK button to save and close the panel. | ||
{{important|text=The file types used in the Filetypes in filter match those defined in the Filetypes part. Do not confuse them with the file extensions. For example the C programming file filter matches c and image filetypes, i.e. files whose extensions are .c, .h, etc...}} | |||
Latest revision as of 01:23, 9 July 2010
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.