Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#283 May we request to have a feature to find list of file #included by a file

None
closed-wont-fix
None
5
2013-07-28
2013-06-26
No

May we request to have a feature to find list of file #included by a file

May be it is there and I don't know how to do it. Another is if we have something like history in the commands executed in cscope, That will save lot of time

Related

Bugs: #283

Discussion

  • Neil Horman
    Neil Horman
    2013-06-26

    On Wed, Jun 26, 2013 at 07:41:09AM +0000, Devchandr L Meetei wrote:


    [bugs:#283] May we request to have a feature to find list of file #included by a file

    Status: open
    Created: Wed Jun 26, 2013 07:41 AM UTC by Devchandr L Meetei
    Last Updated: Wed Jun 26, 2013 07:41 AM UTC
    Owner: nobody

    May we request to have a feature to find list of file #included by a file

    May be it is there and I don't know how to do it. Another is if we have something like history in the commands executed in cscope, That will save lot of time

    Seems like sort of a non-useful feature, given that determining that information
    is:
    a) trivial, easily accomplished, by opening the file and searching for
    "#include"

    b) ambiguous, in that one can make an argument for recursion here. Does such a
    search imply we should return entries for files that a .h file includes as well,
    as the initial search file will transitively include it.

    Neil


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cscope/bugs/283/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #283

  • ... and if you insist on using cscope to do it, you can always post-filter the "#included by" output list:

    cscope -L8 '.*' | grep foo.c

    Another is if we have something like history in the commands executed in cscope, That will save lot of time

    Type '?' in cscope to see how.

     
    • status: open --> closed-wont-fix
    • assigned_to: Hans-Bernhard Broeker
    • Group: -->
     
  • Not a bug