Buy Reviews
Powered by MaxBlogPress  

cscope

點閱人數:234次 十一月 13th, 2009 by ㄚ琪 |

今天在酷!學園看到這樣一個問題:cscope 使用問題 ,很好奇cscope是什麼東西,後來Google之後才知道這個原來是用vim來trace source code的,它擁有的功能如下:

1.Allows searching code for:

  • all references to a symbol
  • global definitions
  • functions called by a function
  • functions calling a function
  • text string
  • regular expression pattern
  • a file
  • files including a file
  • 2.Curses based (text screen)

    3.An information database is generated for faster searches and later reference

    4.The fuzzy parser supports C, but is flexible enough to be useful for C++ and Java, and for use as a 5.generalized ‘grep database’ (use it to browse large text documents!)

    6.Has a command line mode for inclusion in scripts or as a backend to a GUI/frontend

    7.Runs on all flavors of Unix, plus most monopoly-controlled operating systems.

    也有中文的教學:Using Cscope with Vim — translated to Chinese (external link)

    我也注意到它的DOS/Windows的支援,

    喜歡這篇文章嗎?請幫這篇加入共用書籤,謝謝:
    • Digg
    • del.icio.us
    • Google Bookmarks
    • Hemidemi
    • MyShare
    • Technorati
    • StumbleUpon
    • Diigo
    • Facebook
    • Twitter

    Random Posts

    Tags:

    發表迴響

    名稱:(必)
    電子郵件(並不會被發佈)(必)
    個人網站

    You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>