Intellisense doesn't mark undefined variables
-
Hi, I wondered if it is possible to make my QtCreator highlight undefined variables. Somehow he spots a lot of coding Errors but doesn't point me to undefined variables.
-
Hi
Not that i have seen. ( in default parser)
I use ctrl+alt+b to build the file im in and see such things.
Its pretty fast. -
Hi, I wondered if it is possible to make my QtCreator highlight undefined variables. Somehow he spots a lot of coding Errors but doesn't point me to undefined variables.
Which code model are you using? As far as I know the clang code model should be able to catch the undefined variables.
-
kshegunov, that was the answer I was hoping for =). In fact the clang code model was just deactivated. I checked a box in "help\about plugins..." to activate it, restarted Qt and everything worked fine. Thx a lot!