I'm using cscope for a large project with vim, but without the vim mappings (they froze vim for some weird reason). I'm using cscope commands from within vim, and I want to be able to find uses of structure members throughout the code.
Suppose I have something like this:
1 typedef struct _s{
2
3 int x;
4 } S;
5
6 int main(){
7
8 int x = 1;
9
10 S my_s;
11
12 my_s.x = 5;
13
14 return my_s.x;
15 }
If I issue the command 'cs f s x' it will return both S's member variable and the local main variable. Is there a way I can only find the occurrences of S's member variable?
x
. – Nessim