Skip to content
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

I get nothing when "Find Reference" #1

Closed
zhangshengping opened this issue Nov 5, 2016 · 2 comments
Closed

I get nothing when "Find Reference" #1

zhangshengping opened this issue Nov 5, 2016 · 2 comments

Comments

@zhangshengping
Copy link

I use nppgtags to browser c source code. I have created gtags file in the root direction, but when I the try to "Find Refernece" of a symbol, I got nothing. Here is the screenshot.

@pnedev
Copy link
Owner

pnedev commented Nov 6, 2016

The references are kept in the GRTAGS file in your project folder. Try re-creating your database with the default parser (if you haven't touched that in your NppGtags settings it should already be set).

The symbol you are searching looks like a part of composite define and it is quite possible that the parser has failed finding it. The solution in this case is to use "Search In Source Files" command - it will simply grep your project's source files for the symbol and find all it's uses in the code.

@pnedev pnedev closed this as completed Nov 6, 2016
@zhangshengping
Copy link
Author

Thank you for your suggestion. It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants