This page allows you to override the default configuration for documents of specified mimetypes. When the editor loads a document, it will try if it matches the file masks or mimetypes for one of the defined filetypes, and if so apply the variables defined. If more filetypes match, the one with the highest priority will be used.
The filetype with the highest priority is the one displayed in the first drop down box. If more filetypes were found, they are also listed.
This is used to create a new filetype. After you click on this button, the fields below get empty and you can fill the properties you want for the new filetype.
To remove an existing filetype, select it from the drop down box and press the Delete button.
The filetype with the highest priority is the one displayed in the first drop down box. If more filetypes were found, they are also listed.
The name of the filetype will be the text of the corresponding menu item. This name is displayed in the ->
The section name is used to organize the file types in menus. This is also used in the -> menu.
This string allows you to configure KWrite's settings for the files selected by this mimetype using KWrite variables. You can set almost any configuration option, such as highlight, indent-mode, encoding, etc.
For a full list of known variables, see the manual.
The wildcards mask allows you to select files by filename. A
typical mask uses an asterisk and the file extension, for example
*.txt; *.text
. The string is a semicolon-separated list of
masks.
Displays a wizard that helps you easily select mimetypes.
Sets a priority for this file type. If more than one file type selects the same file, the one with the highest priority will be used.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team