#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.


  • Nobody/Anonymous

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

  • Hans-Bernhard Broeker

    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.

  • Rolland Santimano

    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.

  • Hans-Bernhard Broeker

    • status: open --> closed-accepted
  • Hans-Bernhard Broeker

    Implemented as of version 15.8


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks