Download highlight definitions

Qt Design Studio uses the KSyntaxHighlighting syntax highlighting engine with Kate syntax definitions. It comes with most of the commonly used Kate definitions, and you can download more definitions. For more information about the definition files, see Working with Syntax Highlighting.

Font attributes that a syntax definition file explicitly specifies, such as bold, italic, underline, or strike through, are applied. Colors are applied if they are readable with Qt Design Studio themes.

Remember preferred definitions

If more than one highlight definition is available for the file that you open for editing, the editor asks you to select the one to use.

To save the selection, select Remember My Choice.

To reset the remembered definitions, go to Preferences > Text Editor > Generic Highlighter and select Reset Remembered Definitions.

{Generic Highlighter preferences}

Download definitions

If the editor cannot find the highlight definition for a file that you open for editing, it prompts you to download additional highlight definition files. Select Download Definitions to download the files.

To view information about the downloaded files, open the General Messages view.

Ignore file patterns

To suppress the message for a particular file pattern, go to Preferences > Text Editor > Generic Highlighter and add the pattern to Ignored file patterns.

Add your own definitions

If you have written your own syntax definition files, add a definition search path in User Highlight Definition Files.

To apply the changes you make to the definition files, select Reload Definitions.

See also Code.

Available under certain Qt licenses.
Find out more.