Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 1.3.1
-
None
-
Ubuntu Linux amd64
Description
Autocompletion in QTCreator does not handle visibility inside namespaces well. This is especially annoying when using c++0x or boost libraries as after typing, let's say, "std::chrono" autocompletion shows members of entire std namespace in addition to these few from std::chrono.
Test case
Suppose we have code:
class big; namespace small { class yellow; namespace tiny { class green; } }
Then after I type 'small::' autocompletion suggests me to continue with 'yellow', 'tiny' and 'big' although I shouldn't be able to see "big' from within 'small'.
The same situation is when I type 'small::tiny::'. Autocompletion tries convince me that I can see not only 'green', but 'big', 'small' and 'yellow' also.