43 ms·
I find it easier to cut-n-paste (with tmux) the symbol I want to chase down, pasting it into cscope. The reason this is better is that ctags doesn't do what I
by cryptonector 9y ago
I find it easier to cut-n-paste (with tmux) the symbol I want to chase down, pasting it into cscope.
The reason this is better is that ctags doesn't do what I want. I may want to see functions called by some symbol (ctags no help), functions calling that symbol (two ctags operations required), or assignments to a variable (ctags no help) or even just a full-text search (again, ctags no help).
I don't need $EDITOR cscope integration because I have an easier time tracking appropriately-titled tmux windows than I do tracking $EDITOR buffers (not least because tmux windows are more general!), so I really want a new tmux window with a new $EDITOR instance. Thus the cut-n-paste approach, while it requires a few more keystrokes than I might like, works best. I could always do my own integration that uses tmux to programmatically write the symbol I want to the cscope window, but I don't feel the need.