I was writing much java code lately and got quite used to IDE features like jumping to definitions.
Now I'm working on C (reading some kernel code) and wonder if there is any similar tooling for that language, too.
I am aware of ctags
, cscope
, and lxr, but they seem to rely much on pattern matching and do not really understand the code.
For example I have some code using struct file
, how do I navigate to the definition of that struct in order to determine the available fields?
Even if I know that it is defined in fs.h
and it contains a field of type fmode_t
defined in types.h
as unsigned __bitwise__
, is there a way to get the semantics of the single bits? (Probably by finding the FMODE_*
constants in fs.h
again.)
Is this kind of (eclipse-like) direct navigating possible, or do I really have to do much guessing if I do not know all of this before?