Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ctags doesn't understand -e option (no exuberant tags option)

When I type ctags -e it returns an error saying it doesn't know that command line option. I thought it should know about exuberant tags because etags works on cli.

Also, I recieve the following error: ctags: unrecognized option --langdef=arc and I have the following in my ~/.ctags file:

--langdef=arc
--langmap=arc:.arc
--regex-arc=/^\(def ([a-zA-Z1-9_*\/<>-]+)/\1/
--regex-arc=/^\(= ([a-zA-Z1-9_*\/<>-]+)/\1/
--regex-scheme=/^\(xdef ([a-zA-Z1-9_*\/<>-]+)/\1/
like image 860
Alexander Bird Avatar asked Apr 05 '10 18:04

Alexander Bird


People also ask

How do I install exuberant ctags?

To install Exuberant Ctags: Go to the following website and download the latest package labeled Source and binary for Windows: http://ctags.sourceforge.net. If the latest binary package is not available for download, go to the Download section and download the binary package for the previous version of Ctags.

What is exuberant ctags?

Exuberant Ctags is a multilanguage reimplementation of the Unix ctags utility.


3 Answers

It turns out that my system has basic ctags installed, but not exuberant-ctags. so even though some etags command existed, exuberant-ctags is still different in some way or another.

sudo apt-get install ctags fixed the problem

like image 195
Alexander Bird Avatar answered Oct 20 '22 03:10

Alexander Bird


etags is short for "Emacs tags", not "exuberant ctags". It sounds like you have Emacs' etags command installed, not exuberant-ctags'.

like image 22
jamessan Avatar answered Oct 20 '22 03:10

jamessan


sudo apt-get install exuberant-ctags 

solved the problem for me. I was running Debian Jessie on an ARM development board, cubietruck.

like image 21
Sahil Singh Avatar answered Oct 20 '22 04:10

Sahil Singh