Solved Qt Creator Occurrences Text Highlight not working for non cpp files
-
Hi all,
I have just installed Qt Creator 4.14.2 on my Linux Mint 20.1 Ulyssa 64-bit machine.
I've cloned a project with lots of different files : .cpp, .txt, .py, .json ...When editing a cpp file then the 'occurrences' are correctly highlighted. By 'occurrences' I mean the 'occurrences of the symbol under the cursor'. Ex : if cursor is under variable
myRobot
then all the occurrences of that variable are highlighted on the text. Great feature, everything's fine.BUT when working with another type of files (Ex CMakeList.txt or any python or json file), then the functionality does not work and I have to simulate it with 'Ctrl+F' each time I click on something I'd like to be highlighted everywhere.
I've been searching in Tools->Options->Text Editor 'Fonts and Colors' and 'Generic Highlighter' tabs, but couldn't find where the cpp files are told to be treated differently from other file types.
Any ideas on this??
Thanks a lot!! -
@natxo14 said in Qt Creator Occurrences Text Highlight not working for non cpp files:
I've been searching in Tools->Options->Text Editor 'Fonts and Colors' and 'Generic Highlighter' tabs, but couldn't find where the cpp files are told to be treated differently from other file types.
They're not, there's a code analyzer only for c++ (and a partial support for qmake autocompletion).
-
@natxo14 said in Qt Creator Occurrences Text Highlight not working for non cpp files:
I've been searching in Tools->Options->Text Editor 'Fonts and Colors' and 'Generic Highlighter' tabs, but couldn't find where the cpp files are told to be treated differently from other file types.
They're not, there's a code analyzer only for c++ (and a partial support for qmake autocompletion).