Vim+cscope+ctags+taglist

Embed Size (px)

Citation preview

vim+cscope+ctags+taglistPowerful Source Insight

Author: Tony

What's vim ?

A convenient and powerful editor in linux

Problem for Programmer

feature is too simple in vim

Trouble: Definition

Not convenient!!!

Trouble: Call Hierarchy

Trouble: Lack of View

What We Need ?

More convenient

More Powerful

vim - You can!

cscope & ctags & taglist

help you work easy

Installation

Installation Files (taglist)

Find the Definition: Ctrl + ]

Return to Last Position: Ctrl + t

Find all this symbol

Ctrl + \ then s"

Who call this function
Ctrl + \ then c"

Find functions called by this function

Ctrl + \ then d"

Show the function list

Press F12 button & Ctrl + W" then press left button

Conclusion

Quick to modify a source code file

vi is the default editor such as git and svn

The Linux heavy user

Trace code when no IDE support

Additional

Graphical vi / vim cheat sheet

cscope in SourceForge

Exuberant Ctags

taglist.vim

Muokkaa otsikon tekstimuotoa napsauttamalla

Muokkaa jsennyksen tekstimuotoa napsauttamallaToinen jsennystasoKolmas jsennystasoNeljs jsennystasoViides jsennystasoKuudes jsennystasoSeitsems jsennystasoKahdeksas jsennystasoYhdekss jsennystaso