Skip to content

Instantly share code, notes, and snippets.

@dcrosby42
Created July 25, 2011 03:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dcrosby42/1103502 to your computer and use it in GitHub Desktop.
Save dcrosby42/1103502 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