Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 1.3.1
-
None
Description
Or, atleast dont do it when templates are involved.
For example i have things like this in my code:
Api::GetChatUsers* get_users = new Api::GetChatUsers(connection_);
When i select GetChatUsers and press F2, i end up here:
template <class RESPONSE, class REQUEST> class RpcTemplate : public RpcResponse<RESPONSE>
Which tells me nothing about the actual type GetChatUsers, because it is
defined like this elsewhere:
typedef RpcTemplate<ResponseBoolean, RequestGetChatUsers> GetChatUsers;
The same problem also happens if you typedef QHash<something, something>
and then use that typedef.
I think it makes sense to typedef complex template usages, and Qt
creator should take you to where the typedef is defined instead of where
the template is defined.