Loading ...
Sorry, an error occurred while loading the content.

51446Re: help with cscope..

Expand Messages
  • Terrance Cohen
    Jul 1, 2004
    • 0 Attachment
      Is cscope.out in your current directory when issuing :cs add? Try
      providing a full path to the .out file, eg. :cs add
      c:\mywork\source\cscope.out

      -Terrance

      Gowri.S@... wrote:

      >nope :-( that dint work either :-(
      >
      >
      >
      >
      >
      >
      >Terrance Cohen <vim@...>
      >07/01/2004 08:58 AM
      >
      >
      > To: vim@...
      > cc:
      > Subject: Re: help with cscope..
      >
      >
      >I found that I had to do the ":cs add" after the VimEnter event. Don't
      >know why, but it works.
      >
      >You can add this to your vimrc: au VimEnter * cs add cscope.out
      >
      >Alternatively, I source a separate script on VimEnter, and do a few
      >things there: au VimEnter * source $VIM_USER\VimEnter.vim
      >
      >Anybody know why :cs add only works after VimEnter?
      >
      >-Terrance Cohen
      >
      >Gowri.S@... wrote:
      >
      >
      >
      >>Hi,
      >>
      >>I am trying to use cscope from within Vim for my java project. Evironment
      >>
      >>
      >
      >
      >
      >>is Win2k.
      >>
      >>Read the Vim/Cscope tutorial and built my cscope database using a list of
      >>
      >>
      >
      >
      >
      >>my java files.
      >>
      >>Now from inside Vim (6.3, +cscope) , when I issue ":cs add cscope.out"
      >>an error message is given: E262: error reading cscope connection 0.
      >>The cscope.out file is readable and querying it using the cmd line
      >>interface of cscope works fine..
      >>
      >>Can anybody help me solve this problem? Please??
      >>
      >>--gowri
      >>
      >>
      >>
      >>
      >>
      >>
      >
      >
      >
      >
      >
      >
      >
    • Show all 6 messages in this topic