Generic Highlighter

Qt Creator uses the KSyntaxHighlighting engine with Kate syntax definitions to highlight code in files that do not have dedicated support, such as Python or shell script files. To manage the highlight definitions that this engine uses, select Preferences > Text Editor > Generic Highlighter.

Generic Highlighter tab in Text Editor preferences

The following table describes the preferences you can set.

PreferenceDescription
Download DefinitionsDownload missing and update existing syntax definition files.
User Highlight Definition FilesSet the folder where Qt Creator looks for your own highlight definition files, in addition to the downloaded ones.
Reload DefinitionsReload definition files that were modified outside Qt Creator.
Reset Remembered DefinitionsReset the highlight definitions that Qt Creator remembered for files that can be associated with more than one definition. See Download highlight definitions.
Skip update check for files matchingList wildcard-aware file patterns, separated by commas, for which Qt Creator does not prompt you to download a missing highlight definition.
Skip syntax highlighting for files matchingList wildcard-aware file patterns, separated by commas, for which Qt Creator does not apply generic syntax highlighting at all.

See also How to: Configure editors, Configuring editors, and Download highlight definitions.