Vim and Ctags — Andrew Stewart

by: Andrew Stewart • October, 31, 2012 • 1122 words by: Andrew Stewart October, 31, 2012 1122 words Combining vim with ctags yields a powerful combination for working with large or unfamiliar codebases. Ctags is a tool that will sift through your code, indexing methods, classes, variables, and other identifiers, storing the index in a tags file. The tags file contains a single tag per line. Depending on command line arguments and the language ctags is run against, a lot of information can be obtained from this index. Ctags currently supports 41 programming languages , and it’s relatively easy to add definitions for more. Ctags makes it much easier to navigate a larger project, particularly if the code you’re working with is unfamiliar. If you’re unsure of what a method does or how it’s supposed to be called, you can jump straight to it’s definition. If you’re in the dow...

Linked on 2014-01-27 17:10:43 | Similar Links