ggtags icon indicating copy to clipboard operation
ggtags copied to clipboard

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

Open gthaker opened this issue 4 years ago • 0 comments

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.

gthaker avatar Jul 18 '20 02:07 gthaker