Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Anyone have a good ctag definition for BrightScript?

I'm using Vim to edit my BrightScript and I'd like ctag support. Has anyone created a ctag definition for BrightScript yet? I came up with this one, but it could use a little more.

--langdef=BrightScript
--langmap=BrightScript:.brs
--regex-BrightScript=/^Function[ \t]*([a-zA-Z0-9_]+)/\1/f,function/
--regex-BrightScript=/^Sub[ \t]*([a-zA-Z0-9_]+)/\1/s,sub/
--regex-BrightScript=/^\s*(\w+) ?=/\1/v,variable/
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: Anyone have a good ctag definition for BrightScript?

0 Kudos