gotags | ctags-compatible tag generator for Go | Generator Utils library
kandi X-RAY | gotags Summary
kandi X-RAY | gotags Summary
gotags is a ctags-compatible tag generator for Go.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gotags
gotags Key Features
gotags Examples and Code Snippets
Community Discussions
Trending Discussions on gotags
QUESTION
I am trying to generate tags for Go projects for vim. As ctags does not have native support for go I am using gotags for it. I wrote a small vim function to check if the file is .go and if so to use the gotags and not ctags:
...ANSWER
Answered 2021-Jan-12 at 16:29It seems I had a typo in the version in my vimrc as I tried again with the first version posted here and it worked:
QUESTION
Using the root user installed go on linux.
Set go path in the ~/.zshrc file:
...ANSWER
Answered 2019-Jun-24 at 04:21As commented, your ~/.zshrc should set PATH to reference Go, as seen in the Go wiki:
Edit your
~/.zshrc
file to add the following line:
QUESTION
When I install vim-go under sudo user in Vim
...ANSWER
Answered 2018-Nov-13 at 14:57sudo chown $LOGNAME /usr/local/go/bin
QUESTION
i want to set the tags variable to the set of all gotags
files i generated in specific folder(s) using exuberant Ctags
. (gotags
is nothing but the tags
file renamed).
i put following lines in my .vimrc
file.
ANSWER
Answered 2017-Feb-20 at 09:22Inventing new syntax tends not to work that well in practice. Use system()
to run external commands from Vim, not backticks. Also set
in Vim is weird, it doesn't evaluate RHS the way you expect. Most of the time it's a lot simpler to use let &option = ...
instead of set option=...
.
Anyway, to answer your question, you don't need to run find(1)
for that, plain Vim functions are enough for what you want:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gotags
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page