Add variable type to variables
Brought to you by:
dhiebert
I want to add "Go to ..." functionality with the help
of ctags.
For this I'd need that variables are recorded together with
their type.
e.g. pMyClass->SomeFunc()
If a user wants to go to definition of SomeFunc I only know
that it is part of pMyClass. I can lookup where pMyClass is
defined but I don't know the type/class. So I don't
know where
SomeFunc belongs to.
Whereas this may be doable with some own text parsing at
the place of the definition of pMyClass, it gets more and
more difficult if I have three or more redirections.
e.g. pMyClass->pChild->SomeFunc()
Thanks
Logged In: YES
user_id=632860
i'll second on that RFE
also if there are declarations like
int a,
b,
c;
it's very hard and error prone to figure out the type of
the variable
Logged In: YES
user_id=131713
I would like this option.
types for variable declarations aid in ad-hoc code
completion. Given a variable, I'll be able to get the type
and provide options in terms of methods it supports etc.
The same goes for functions too... Return types can be stored...