#30 "Find assignments to"


In the 13.X branch of cscope there was a "Find assignments to" search item. This mysteriously disappeared in the 15.X branch.

It was a very useful search criteria. For example if there were many instances of symbol "counter", and you did a "Find assignments to: counter", you would only get the following

counter = 55;
int counter = 0;

and you would skip all the declarations, etc. Without this option, you had to do a 2 step process: first, do a "find this symbol", then weed out the non-assignments manually.

Please consider adding this option back.


  • This is a very useful feature and I just don't want to use versions later than 13.x because of this.

  • Putting something back is not possible --- it was never in this branch to begin with. That feature must have appeared in 13.x development after this open-source version was branched off.

    Oh, and BTW, it's arguablly incorrect to show "int value=0" in a "find assignment" search --- that's not an assignment, but an initialization.

  • Umm, I would guess that one of the use cases (if there are more than one) for "find assignment" would be to track changes to a variable's value, including init statements.

    • status: open --> closed-accepted
  • Implemented as of version 15.8