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

How to use this gtags-cscope feature from ggtags.el #204

Open
gthaker opened this issue Jul 18, 2020 · 0 comments
Open

How to use this gtags-cscope feature from ggtags.el #204

gthaker opened this issue Jul 18, 2020 · 0 comments

Comments

@gthaker
Copy link

gthaker commented Jul 18, 2020

https://github.com/dkogan/xcscope.el describes a feature that I would like to use from within ggtags.el The feature is:

Where was this variable assigned-to?

gtags-cscope program of gnu Global suite provides this feature. It would be nice if from ggtags.el I could:

  1. find where this variable is assigned-to (and it would search up from the current emacs point and find the nearest assignment within this function. If the variable is not assigned to in this function, the point should move to where this variable is coming into this function as a formal argument.

  2. I can then move quickly to places where my function is being called from and repeat this process to, hopefully, quickly find where in the call stack it is likely my variable value was being set.

I hope I am making sense, if needed I can provide code examples.

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

1 participant