All Projects → jstemmer → Gotags

jstemmer / Gotags

Licence: mit
ctags-compatible tag generator for Go

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Gotags

Neo Mc
A Midnight Commander fork with scripting and other features.
Stars: ✭ 129 (-83.65%)
Mutual labels:  ctags
so stupid search
It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一…
Stars: ✭ 135 (-82.89%)
Mutual labels:  ctags
Gen tags.vim
Async plugin for vim and neovim to ease the use of ctags/gtags
Stars: ✭ 288 (-63.5%)
Mutual labels:  ctags
Ctags Win32
Universal Ctags Win32 daily builds
Stars: ✭ 179 (-77.31%)
Mutual labels:  ctags
lh-tags
ctags base updating, and browsing from vim
Stars: ✭ 25 (-96.83%)
Mutual labels:  ctags
tagbar.kak
Tag viewer for Kakoune
Stars: ✭ 19 (-97.59%)
Mutual labels:  ctags
Vscode Verilog Hdl Support
Verilog HDL/SystemVerilog/Bluespec SystemVerilog support for VS Code
Stars: ✭ 120 (-84.79%)
Mutual labels:  ctags
Codequery
A code-understanding, code-browsing or code-search tool. This is a tool to index, then query or search C, C++, Java, Python, Ruby, Go and Javascript source code. It builds upon the databases of cscope and ctags, and provides a nice GUI tool.
Stars: ✭ 551 (-30.16%)
Mutual labels:  ctags
citre
Ctags IDE on the True Editor
Stars: ✭ 230 (-70.85%)
Mutual labels:  ctags
lein-codeindex
Index code using etags, ctags or gtags.
Stars: ✭ 19 (-97.59%)
Mutual labels:  ctags
D Scanner
Swiss-army knife for D source code
Stars: ✭ 221 (-71.99%)
Mutual labels:  ctags
ctagsx
VSCode ctags implementation that actually works
Stars: ✭ 24 (-96.96%)
Mutual labels:  ctags
dotvim
My Vim setup
Stars: ✭ 36 (-95.44%)
Mutual labels:  ctags
Vim Gutentags
A Vim plugin that manages your tag files
Stars: ✭ 1,977 (+150.57%)
Mutual labels:  ctags
Ctags Patterns For Javascript
Exuberant Ctags Patterns for JavaScript
Stars: ✭ 368 (-53.36%)
Mutual labels:  ctags
Neotags.nvim
Tag highlight in neovim
Stars: ✭ 124 (-84.28%)
Mutual labels:  ctags
vim-ctrlp-tjump
CtrlP extension for fuzzy-search in tag matches (:tjump replacement).
Stars: ✭ 90 (-88.59%)
Mutual labels:  ctags
Phpcomplete.vim
Improved PHP omnicompletion
Stars: ✭ 582 (-26.24%)
Mutual labels:  ctags
Ctags
A maintained ctags implementation
Stars: ✭ 4,768 (+504.31%)
Mutual labels:  ctags
dotfiles
Your dotfiles are how you personalize your system. These are mine.
Stars: ✭ 12 (-98.48%)
Mutual labels:  ctags

gotags

gotags is a ctags-compatible tag generator for Go.

Build Status Report Card

Installation

Go version 1.1 or higher is required. Install or update gotags using the go get command:

go get -u github.com/jstemmer/gotags

Or using package manager brew on OS X

brew install gotags

Usage

gotags [options] file(s)

-L="": source file names are read from the specified file. If file is "-", input is read from standard in.
-R=false: recurse into directories in the file list.
-f="": write output to specified file. If file is "-", output is written to standard out.
-silent=false: do not produce any output on error.
-sort=true: sort tags.
-tag-relative=false: file paths should be relative to the directory containing the tag file.
-v=false: print version.

Vim Tagbar configuration

Put the following configuration in your vimrc:

let g:tagbar_type_go = {
	\ 'ctagstype' : 'go',
	\ 'kinds'     : [
		\ 'p:package',
		\ 'i:imports:1',
		\ 'c:constants',
		\ 'v:variables',
		\ 't:types',
		\ 'n:interfaces',
		\ 'w:fields',
		\ 'e:embedded',
		\ 'm:methods',
		\ 'r:constructor',
		\ 'f:functions'
	\ ],
	\ 'sro' : '.',
	\ 'kind2scope' : {
		\ 't' : 'ctype',
		\ 'n' : 'ntype'
	\ },
	\ 'scope2kind' : {
		\ 'ctype' : 't',
		\ 'ntype' : 'n'
	\ },
	\ 'ctagsbin'  : 'gotags',
	\ 'ctagsargs' : '-sort -silent'
\ }

Vim+Tagbar Screenshot

vim Tagbar gotags

gotags with Emacs

Gotags doesn't have support for generating etags yet, but gotags-el allows you to use gotags directly in Emacs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].