< C-\ >Cを使用して 1 つの関数の呼び出し元を取得し、1 つの数字を押すと 1 つの呼び出し元にジャンプできます。しかし、別の発信者にジャンプしたい場合は、< CT>を押してジャンプし、もう一度 < C-\ >C を押して発信者リストを取得する必要がありました。cscope は履歴リストの記録をサポートしていますか?
3 に答える
VIMを使用している場合は、クイックフィックスを試すことができます
:secscopequickfix=s-,c-,d-,i-,t-,e-
:cn :cpで次または前の結果に移動する
:cwを使用して、cscope の検索結果を表示します。
For one thing, you can use
:se cscopetag
or
:lcscope ....
:lopen
With the latter you can even use :lolder
and :lnewer
to switch back and forth between previous cscope queries.
he cscopetag:
If '
cscopetag
' set, the commands ":tag
" and CTRL-] as well as "vim -t" will always use|:cstag|
instead of the default:tag
behavior. Effectively, by setting 'cst', you will always search your cscope databases as well as your tag files. The default is off. Examples::set cst :set nocst
That way you you just
:tnext
:tprev
like always.
Alternatively, you can use
実際の経験はありませんcscope
が、見てみましょう:help cscopequickfix
: このオプションを設定すると、<C-\>c
結果はクイックフィックス ウィンドウに表示されるはずです。