cscope


Ⅰ. 插件描述

A fork of cscope from sourceforge with assignment searches added, with enhancements to support pycscope

Ⅱ. 基本信息

创建日期:  2012-03-04
使用用户:  3
Github星:  13
插件作者:  Peter Portante

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'portante/cscope'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'portante/cscope'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'portante/cscope'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/portante/cscope

Ⅳ. 文档说明

Cscope is a text screen based source browsing tool. Although it is
primarily designed to search C code (including lex and yacc files), it
can also be used for C++ code.

Using cscope, you can easily search for where symbols are used and

  1. Cscope is designed to answer questions like:

        Where is this variable used?
        What is the value of this preprocessor symbol?
        Where is this function in the source files?
        What functions call this function?
        What functions are called by this function?
        Where does the message "out of space" come from?
        Where is this source file in the directory structure?
        What files include this header file?
    

It has been released by The Santa Cruz Operation, Inc as Open Source
under the BSD license. Please look at COPYING for a detailed
description of the license.

For instructions on how to build and install cscope, see the file,
"INSTALL".

One thing to be pointed out is that this is ancient Unix software
predating much of today's security concerns. While we do try to
address safety issues as we learn about them, it must be said that
this is in no way hardened or secure software. It's designed to be
used by developers, not administrators or anonymous users.

Browse to http://cscope.sourceforge.net for more current information

添加新评论