ctags parses source code to produce an index file, mapping the names of symbols, like functions, classes, and variables, to the locations where they are defined. This index is used by editors like Vim and Emacs to enable feaures like 'go to definition'.
Universal Ctags is a fork of the venerable Exuberant Ctags, that adds additional features, including support for more languages.
When installed, this snap provides executable
In order to read config from files under
you need to give the snap permission.
This should be automated imminently, but for now:
sudo snap connect universal-ctags:dot-ctags
See ctags online useage documentation at http://docs.ctags.io/en/latest/man/ctags.1.html
Compared to universal-ctags installed using apt, or compiled from source, this snap currently has some limitations, introduced by snap security restrictions:
Source files cannot be scanned if they are:
However, it can scan source in lower-level hidden directories, eg.
Config is usually read from the following directories:
~/.ctags.d/is read as expected. (But see the note in 'Usage' about giving the snap permission.)
ctags.dis not read by default, but the '--options' arg can be used to read from it.
.ctags.dcannot be read.
Configuration in other places, specified using
--options-maybe, will not be read if they are outside the
user's HOME, or in a top-level hidden directory.
Tag files written using '-f' options or similar may not be outside
the user's $HOME directory, nor in a hidden file or directory at
top level in the $HOME directory. (You can work around this by
-f - and redirecting stdout to the required location.)
The universal-ctags 'man' pages are not installed.
The 'etags' executable alias (which defaults to Emacs style tags files) is not installed.
If these or other issues cause you problems, let me know at https://github.com/universal-ctags/ctags-snap/issues
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.
Is there a problem with universal-ctags? Report this app
Thanks for bringing this to our attention. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.