Skip to content

Instantly share code, notes, and snippets.

@sudar
Forked from dcrosby42/mk_arduino_tags.sh
Created May 3, 2012 15:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sudar/2586503 to your computer and use it in GitHub Desktop.
Save sudar/2586503 to your computer and use it in GitHub Desktop.
Shell script to generate Arduino ctags
ctags -f tags.cpp `find . -name "*.cpp" -o -name "*.h"`
ctags -f tags.pde --langmap=c++:.pde `find . -name "*.pde"`
cat tags.cpp tags.pde > tags
sort tags -o tags
rm -f tags.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment