Skip to content

Instantly share code, notes, and snippets.

@sofaking
Created November 23, 2017 16:19
Show Gist options
  • Save sofaking/e06e67a3ae3c7fac2d2e396711035f4a to your computer and use it in GitHub Desktop.
Save sofaking/e06e67a3ae3c7fac2d2e396711035f4a to your computer and use it in GitHub Desktop.
.ctags file for DSL-generated methods
--regex-ruby=/^[[:space:]]*button[[:space:]]:([a-z_]*)/\1/f,DSL/
--regex-ruby=/^[[:space:]]*button[[:space:]]:([a-z_]*)/\1\?/f,DSL/
--regex-ruby=/^[[:space:]]*button[[:space:]]:([a-z_]*)/\1_button/f,DSL/
--regex-ruby=/^[[:space:]]*text_field[[:space:]]:([a-z_]*)/\1=/f,DSL/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment