Skip to content

Instantly share code, notes, and snippets.

@crucialfelix
Created July 14, 2014 12:07
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 crucialfelix/74e5bfe0535e077cd1bf to your computer and use it in GitHub Desktop.
Save crucialfelix/74e5bfe0535e077cd1bf to your computer and use it in GitHub Desktop.
SuperCollider ctags file
--langdef=supercollider
--langmap=supercollider:.sc
--regex-supercollider=/^([A-Z]{1}[a-zA-Z0-9_]*) /\1/c,class/
--regex-supercollider=/^[[:space:]]*(\*[a-z]{1}[a-zA-Z0-9_]*) \{/\1/m,method/
--regex-supercollider=/^[[:space:]]*([a-z]{1}[a-zA-Z0-9_]*) \{/\1/m,method/
@crucialfelix
Copy link
Author

put this in ~/.ctags

run ctags in your preferred way and supercollider .sc files will be symbolized

this deliberately only matches Class and method definitions. for my personal tastes I don't want to see variables or other noise in my symbol lookups. I just want to get to the class or method definition quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment