Results 1 to 3 of 3

Thread: cscope database connection

  1. #1
    Join Date
    Dec 2009
    Location
    India
    Posts
    5

    Question cscope database connection

    Hello.

    I have read the vim/cscope tutorial and also the tutorial for using cscope with large databases. I have OpenSuse11.4 installed.

    Now I have generated a cscope database under /home/aijazbaig1/cscope_DB/ and I can see the 4 files namely cscope.files, cscope.out, cscope.in.out, cscope.po.out in it after doing a 'cscope -b -k -q' in it.

    However when I try to use it within vim I see no connections. I do a :cscope show from within vim and it says 'no cscope connections'.

    I have done this umpteen number of times before but I cannot understand where am I going wrong here.

    I would be glad if someone could chip in with their inputs.

    Regards,
    Aijaz Baig.

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: cscope database connection

    On 06/23/2011 08:06 AM, aijazbaig1 wrote:
    >
    > I would be glad if someone could chip in with their inputs.


    i'd suggest while you wait for a cscope expert (or just a user) to drop
    by here you also actively search for a cscope guru, wherever they may
    hang out...maybe:

    http://cscope.sourceforge.net/
    http://sourceforge.net/projects/cscope/
    http://www.google.com/search?q=cscope+linux

    or, maybe it is a vim problem, but i wouldn't know about that..

    --
    DD
    Caveat
    Hardware
    [url=http://tinyurl.com/DD-Software]Software[/ul]
    23 June: Sunrise 4:36 AM, Sunset 10:03 PM

  3. #3
    Join Date
    Dec 2009
    Location
    India
    Posts
    5

    Default Re: cscope database connection

    Hello,

    I was lucky enough to search stackoverflow. I concluded that I had to actually make vim look for that exported shell variable and this is done from with .vimrc. Additionally one could have vim read cscope_maps.vim file which is available on sourceforge by placing it into the .vim directory.

    Now I have some idea as to what was going behind the scenes.

    Regards,
    Aijaz Baig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •