當我在vim中使用ctags時,遇到這個問題:vim ctags,跳轉到類方法的定義
InputDevice * device = mdev; device-> process(...);
當我想看類InputDevice的過程的定義時,ctags不能給出解決方案,並且它顯示了很多標籤。 在源代碼洞察中,它可以跳轉到正確的定義位置,因爲它發現標籤「device-> process」不僅標籤爲「process」。
我發現cscope無法做到這一點。
有沒有一種方法可以找到正確的標籤定義?
當我在vim中使用ctags時,遇到這個問題:vim ctags,跳轉到類方法的定義
InputDevice * device = mdev; device-> process(...);
當我想看類InputDevice的過程的定義時,ctags不能給出解決方案,並且它顯示了很多標籤。 在源代碼洞察中,它可以跳轉到正確的定義位置,因爲它發現標籤「device-> process」不僅標籤爲「process」。
我發現cscope無法做到這一點。
有沒有一種方法可以找到正確的標籤定義?
「想」 跳?真? –
ctags/cscope不可能。 Dup of http://stackoverflow.com/questions/6190955/how-to-find-struct-member-uses-with-cscope – jman