Finally figured this out. Here's the exact contents of my tags test file: !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ !_TAG_PROGRAM_AUTHOR Darren Hiebert /[email protected]/ !_TAG_PROGRAM_NAME Exuberant Ctags // !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ !_TAG_PROGRAM_VERSION 5.7 //
White House *.txt 0;" access:public kind:f Red House *.txt 0;" access:public kind:f John F. Kennedy *.txt 0;" access:public kind:f This seems to work perfectly. The "kind" field is not required but the completion pop-up looks better with an icon in there. Here's how I use this: I have a ruby script that parses the document I'm writing and searches for regex matches [something like: ^chapter \d+:\s*(.+)$] and then dumps the results in a tags file with the proper formatting. This lets me have a custom-built completion parser that updates according to whatever's in the document I'm writing. If people are interested I can post the script I use to create the tags file. -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
