Skip to content

Instantly share code, notes, and snippets.

@urodoz
Created June 12, 2017 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urodoz/8e41ba631350b16692bce9709941951f to your computer and use it in GitHub Desktop.
Save urodoz/8e41ba631350b16692bce9709941951f to your computer and use it in GitHub Desktop.
ctags for js project
ctags -R \
--exclude=.git \
--exclude=src/node_modules/* \
--exclude=node_modules/* \
--exclude=src/bower_components/* \
--exclude=app/*
# Javascript tags
find ./src/app -type f -iregex ".*\.js$" \
-not -path "./node_modules/*,./src/node_modules/*,./src/bower_components/*" \
-exec jsctags {} -f \; | sed '/^$/d' | sort > tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment