Skip to content

Quick Setup

Josh Clayton edited this page May 28, 2020 · 1 revision

If you're using Homebrew, run:

# Install Universal Ctags with Homebrew
# From https://github.com/universal-ctags/homebrew-universal-ctags
brew install --HEAD universal-ctags/universal-ctags/universal-ctags

# Generate a tags file based on all files tracked by git
# This writes the tags file to .git/tags
git ls-files | ctags -L - -f - > .git/tags

If you have an existing ctags configuration (e.g. at ~/.ctags), it may conflict with Universal Ctags settings. Consider renaming the file (for now) and attempt to run ctags again.

Note that depending on the size of the application, ctags might take upwards of 30 seconds to complete.

Clone this wiki locally