Taglist: Exuberant ctags not found in PATH
Solution 1
That looks a lot like the message the taglist plugin emits when it can't find a ctags program. If you run :scriptnames
, do you see plugin/taglist.vim
in the list of sourced files? If you do, then you'll probably want to remove that and doc/taglist.txt
under the same directory structure.
Solution 2
For Ubuntu and derivatives:
sudo apt-get install exuberant-ctags
With yum:
sudo yum install ctags-etags
Solution 3
FWIW I had the same error message on Ubuntu, I simply installed ctags and everything hunky dory. Thanks :)
Solution 4
If you are using Gvim in a Windows system, you should download a ctag Windows program (that is ctag.exe) and put the ctag.exe in the vim74 file dir, then reboot Gvim, and it will find it and use it! I hope this is helpful.
Take a look at this: http://vim-taglist.sourceforge.net/installation.html
Solution 5
Thanks, guys. I ended up reinstalling XCode and it looks like the problem has gone away. I have no idea how I got it into whatever state it was in, but it's back now and everything looks to be back to normal.
Rob Wilkerson
I am a development manager and engineer, but I haven't always been one. I've also been an architect, a carpenter and a paratrooper (never a butcher, baker or candlestick maker). I have nearly 15 years of experience designing, engineering and developing Internet solutions. That experience extends to building and leading intra- and international development teams and organizing those teams around an evolving set of tools, standards, practices and processes. Sadly, I still can't design my way out of a wet paper bag.
Updated on July 31, 2020Comments
-
Rob Wilkerson almost 4 years
This morning, I started getting that message when I attempt to open a file in Vim. Vim is my editor of choice for config files, git commit messages and the like, but is not my day to day code editor. I clearly did something to invite this message, but I have no idea what. I did recently uninstall an older version of XCode from
/Developer-3.2.6
, but that's the only thing that comes to mind that seems even tangentially related.I'm running OSX Lion. Is Excuberant ctags part of the base install? I know I didn't install it intentionally, but if it's not native, then maybe it came along with something else? Any ideas about how to either get the plugin back or remove references to it so I don't get the warning message?
Thanks.
-
Rob Wilkerson over 12 yearsI do see that plugin in the list, I'm just not sure where it went, I guess. Reinstalling XCode seems to have fixed whatever the problem may have been.
-
jamessan over 12 years@Rob, I told you what the problem was. :) The taglist plugin couldn't find a ctags program. You reinstalled XCode, which provided a ctags program, so taglist stopped complaining.
-
Rob Wilkerson over 12 yearsFair enough. Someone might as well get the points in spite of my rather unenlightened and ham-fisted solution. :-)
-
Severo Raz over 10 yearsYou should clarify that this is intended only for Ubuntu and its derivatives.
-
einverne almost 9 yearsSolved my problem. Thanks
-
toshi over 8 yearsi put that ctags.exe every where except in my "C:\Program Files (x86)\vim\vim74". Thanks for the tip. Now C:\Program Files (x86)\vim\vim74\ctags.exe let Tlist open and do the job ;)
-
chen Jacky over 5 yearsIt worked for me, thank you. The error msg reveals that exuberant-ctags program not installed, so, just install it and the problem resolved.
-
Jason over 3 years
rm ~/.vim/plugin/taglist.vim ~/.vim/doc/taglist.txt
-
fourpastmidnight over 2 yearsSo, you probably shouldn't put this in your vim install folder, because if you uninstall vim, it won't get removed. Instead, put it somewhere else, then in Windows, update your user
PATH
environment variable to add the folder path to wherectags.exe
is located. If you have an existing terminal session open, you will need to restart it. But then Vim will find the executable with no problem.