In the initial growth of vimer, the combination of VIM + ctags + cs.pdf is basically a must for every vimer. Although ctags are powerful enough, csags can do more. Next, let's share a part of my vimrc script about cssag. This script can automatically search for cssag. Out in any subdirectory of the project and add it in.
First, we will share a small script to help us generate csmetadata. Out and ctags in the project.
I named this file CS. Sh.
[Java] View plaincopy
#! /Bin/sh
Fi
reproduced from: http://blog.csdn.net/dengxiayehu/article/details/6330200
First set up the Cscope index file under the directoryFind-name ' *.c ' > Cscope.fileCscope-rbkqThis command generates three files: Cscope.out, Cscope.in.out, Cscope.po.out.Where Cscope.out is the basic symbolic index, the latter two files are generated using the "-q" option to speed up indexing of cscope.The command arguments used above have the following meanings:-r: Searchin
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the ctags in the Vim plugin.This time, let's continue to talk about Vim's plugin. This time we want to say the vim plugin called: Cscope. Well, that's the word, the gossip,Words return to the positive turn. Let's talk about vim together!Crossing, we are talking about the plugin in vim: Cscope.
Tags: GPO generation etag BSD Tags Linux tutorial pos brewCscope, with its pure UNIX pedigree, was originally developed by Bell Labs for the PDP-11 computer and later became part of the commercial, T/t UNIX distribution. It was not until April 2000 that the tool was released by SCO in the BSD license open source.Cscope's homepage is in http://cscope.sourceforge.net/, if you don't have cscope on your computer, you can download it here, and at the time
The compilation, installation and use of the VIM plugin Cscope tool1. Download: http://download.chinaunix.net/download.php?id=3536ResourceID=19002. Compiling#./configure#makeMake has failed:[Email protected]:~/.vim/cscope-15.5# makeMake All-recursiveMAKE[1]: Entering directory '/root/.vim/cscope-15.5 'Making All in docMAKE[2]: Entering directory '/root/.vim/
Http://zhwen.org/?p=articles/cscope-tags
The Linux source code provides make commands for making Cscope index files and tags files. First , the installation of software installation Cscope:
sudo apt-get install Cscope
In the installation ctags:
http://ctags.sourceforge.net/
You can use: Ctags–version to see if the ve
today . describes the kernel reading configuration of vim+ctags+cscope+taglist.
When used, I believe most people will abandon the previous eclipse (I am a living example). Let's start by looking at what the implementation interface looks like:
Let's take a look at how it's achieved. Here is mainly through the vim-based several plug-ins built, that is, our title of the Ctags+cscope+taglist.
Transferred from: http://my.oschina.net/u/554995/blog/59927Recently, ready to go with seniors to the Linux kernel door to see the inside of the world, although we know the door is there, but we have to find the right angle to see more comfortable, right ^_^.There are many tools to read the source code, and today's integrated development environment (IDE) is also very powerful, but for programmers who often use the Vim editor, the power of vim is absolutely "do not abandon, do not give up", and w
Source: Liu Jianwen | academic half-it Song-Wen (http://arttech.us) Csflood is a magic horse
What is cssag? First look at the official definition:
"Cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of Code ."
Simplified translation and added: "cssag is a screen-oriented (opposite to line-oriented) Interactive CSource codeBrowseProgram. It canCode(For example, various labels:
1. IntroductionCscope is a ctags-like tool, but can be thought of as an enhanced version of Ctags.2. Installation
sudo apt-get install Cscope
Install by source, refer to http://blog.csdn.net/hpwzd/article/details/7405401
3. Configuration
In the directory where the source code is located, executing CSCOPE-RBKQ will generate three files: cscope.out/csope.in.out/cscope.po.out
Add the fo
In the past two days, I want to write a large amount of code in Linux. I heard that VIM + csinsight can implement functions similar to sourceinsight, and it took me half a day to learn how to use csinsight.
1. Prepare VimVim -- version | GRPECscope to check whether Vim supports cscope. If not, reinstall vim. The simplest is in./configureAfter adding-enable-cscope, you can modify it in the MAKEFILE file (./s
Description: Take the example of viewing C + + code under Windows System. Because the source Insight (hereinafter referred to as SI) is the fee software, and the interface is ugly, so consider its alternative, found sublime Text3 (hereinafter referred to as ST3) + Ctags + cscope can achieve good results. The use of ST3 basically enables full keyboard operation, while it does not learn the steep curve of vim.Installation method: 1. Install package Cont
Original address: Use VIM to see the code: Cscope Author: Bean_lee
Vim+cscope+ctags is linux to see the Code tool, online search vim tutorial A large pile, a lot of talk is good, unfortunately they have not learned. Good morning, my old chief pogo would once taught me once, ctags I was a learning about, cscope can only be regarded as entry-level level, such as
Some people complain that the Linux system does not resemble VC and other convenient and quick editor, someone with Gedit, some use vim, but are not convenient and there is no automatic completion of the user-friendly functions such as the user. This article briefly introduces the use of several plug-ins in Vim (Ctags, Cscope and TagList) to implement a powerful editor, hoping to help you learn and use. First, Software installation
Ubuntu provides us
Article Title: tip: use Emacs + Cscope to read the code. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Install cssag,
Http://cscope.sourceforge.net/
Download cscope here. The latest version is 15.6.
If you use debian or ubuntu, run sudo apt-get install
1 How to install cscope to emacs in Ubuntu?
Sudo apt-get install cscope-el cscope
NOTICE: Do not forget cscope-el
2 How to use cscope in emacs
After cs1_installed, it will add a menu to emacs automatically.
There you can see invalid useful functions and key-
Linux cscope command and linuxcscope command
I. Introduction
Cssag is an open-source free C/C ++ browser tool that comes with a text-based user interface, cscope allows you to easily find the location where a function or variable is defined and called. Cscope provides better support for C/C ++. You can also customize it to support Java, Perl, Python, and other
network to the server ) application. Connect the Raspberry Pi II via my host SSH , and consider the performance. Without using the Raspberrypi interface on Raspberry Pi II, you can only develop under the console, so you have to pick up the IDE again for Emacs. To be honest, it has been used for more than 12 years in various technologies. Recently, we have just started to learn embedded development, life and learning more than:)Spent most of the day, finally in dealing with the various version n
Http://www.sudu.cn/info/html/edu/20060102/294929.html
In Vim used for a while ctags, is indeed a drawback. Ctags can only find where the function is defined based on the call to the function, and you cannot find where the function is defined by where it is calledThe function. So he learned the cscope. Cscope on the home page that it has unquestioned Unix ancestry, which was developed at Bell Labs as early a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.