Search code examples
qt-creator

Customize smart highlighting in Qt Creator


I cannot find the setting that allows changes to Smart Highlighting in Qt Creator. See this image for an example:

enter image description here

When I click the start variable, Qt Creator puts a box around other occurrences of the variable. Where is the setting to change the background color of these highlights?


Solution

  • Yes, you can change it:

    Tools > Options > Text editor > Occurences

    Currently selected option (I changed color to dark red or sililar):

    Occurences background color