gotags icon indicating copy to clipboard operation
gotags copied to clipboard

Unable to create the ctags for a list of files in a directory

Open esimov opened this issue 5 years ago • 2 comments

The examples given in the readme file are pretty sparse on how you can run the gotags command over a directory structure without to provide an input file with the go files list to obtain the ctags file. Please give an example how you can do it with a single command to obtain all the files in a project and construct the ctags structure for them.

esimov avatar Feb 25 '19 10:02 esimov

Actually it can be executed a command like this to obtain all the go files and execute gotags against them, but you can include like an example:

$ gotags `find . -name "*.go" | grep -v "./vendor"` > tags`

esimov avatar Feb 25 '19 12:02 esimov

Actually it can be executed a command like this to obtain all the go files and execute gotags against them, but you can include like an example:

$ gotags `find . -name "*.go" | grep -v "./vendor"` > tags`

I can't find anything in google gotags exclude dir, and then I saw this.

ealyn avatar Jan 29 '21 06:01 ealyn