Déjà Vu has a list of file extensions that it recognizes. This is what allows Déjà Vu to assign the correct filters to the files you add to a project.
Déjà Vu also allows you to add new entries to the list of recognized extensions. This is particularly useful if you translate files in an XML-based format and you want Déjà Vu to recognize these files and assign the correct filter and filter definition file to them.
To add a new entry:
- Access the menu option File>Options.
- Select the Filters tab. You will see the list of recognized extensions:
- At the bottom of the window, there is a textbox that shows you the extension for the entry that is currently selected (highlighted below). You can place the cursor in that textbox and type:
- When you type a new extension (we are using "dita" in this example), the button that was previously labelled Replace will change to Add.
- You can then change the filter that will be used to import files that match the extension you entered, and once you have selected a filter, you can change the default filter options that will be used to import those files:
- A dialog called Default Filter Options appears. Here you can configure the filter that will be used:
- Once you have finished configuring the filter, you must click on Add to add the entry you have just created to the list of recognized extensions:
- Once the entry has been added, you can find it at the bottom of the list. You can check that it was added and that it is configured correctly:
- Click OK to finish.