-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to navigate in a function call chain #100
Comments
About your second question, Universal Ctags could expand macro to some extent, see:
It's in an early stage, but I think is still better than other tagging systems as the developers are actually preparing infrastructures for dealing with macros. |
I think this happens because universal ctags can tag both definitions and references of macros. You'll notice an |
I still have something to say about the |
Nevermind, I just typed |
First, I've read the documentation but I just don't understand what does
<left>
and<right>
means in the section "Follow a function call chain". I've tried the left and right arrow key on the keyboard but they just move the cursor. Maybe you can clarify that more in the documentation.Another thing, maybe I should not talk it here, is that I tried Citre with Unreal Engine code and, just like any tagging based code navigation solution, it is almost unpractical. One important problem about these tagging system, is that they do not recognize macros. Consider the following code:
This snippet could compile. However, a tagging system could not recognize
x
as a member variable of structT
. Also, if you try to find definition ofSOME_MACRO
, the tagging system could not provide the right answer. It can only list all the occurrence of the macro, which includes the#define
statement among them.I guess this is the limitation of the tagging system which makes them not practical to use with heavily macrofied code base.
The text was updated successfully, but these errors were encountered: