Changes between Version 9 and Version 10 of CodeTagsPlugin
- Timestamp:
- Dec 7, 2006, 6:21:14 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeTagsPlugin
v9 v10 9 9 codetags.* = enabled 10 10 }}} 11 12 By default, this plugin doesn't ignore binary files. If you use svn/trac in a web-dev environment, this is a pain, since the tagger finds tags in files such as `.gif`. 13 14 User submitted patch seems to work: http://trac.pocoo.org/attachment/ticket/109/diff.txt 15 16 Additional configuration information in trac.ini: 11 Additional configuration options in trac.ini: 17 12 {{{ 18 13 [code-tags] … … 25 20 {{{scan_folders}}} specifies which directories within the repository to scan (default: *) [[br]] 26 21 {{{tags}}} allows you to specify what tags to locate, though only the defaults are colored at all. (default: XXX, TODO, FIXME) [[br]] 22 23 By default, this plugin doesn't ignore binary files. If you use svn/trac in a web-dev environment, this is a pain, since the tagger finds tags in files such as `.gif`. 24 25 User submitted patch seems to work: http://trac.pocoo.org/attachment/ticket/109/diff.txt 27 26 28 27 Given the configuration options, I feel that the above referenced patch is unneeded if you have configured properly. On the other hand, there are legitimate uses for long strings of XXX's without them being a code tag. A simple one line change in indexer.py would eliminate 99% of XXX tags that were unintentional by requiring them to end with a colon: