Changes between Version 9 and Version 10 of CodeTagsPlugin


Ignore:
Timestamp:
Dec 7, 2006, 7:21:14 PM (8 years ago)
Author:
BladeHawke
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodeTagsPlugin

    v9 v10  
    99codetags.* = enabled
    1010}}}
    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:
     11Additional configuration options in trac.ini:
    1712{{{
    1813[code-tags]
     
    2520{{{scan_folders}}} specifies which directories within the repository to scan (default: *) [[br]]
    2621{{{tags}}} allows you to specify what tags to locate, though only the defaults are colored at all. (default: XXX, TODO, FIXME) [[br]]
     22
     23By 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
     25User submitted patch seems to work: http://trac.pocoo.org/attachment/ticket/109/diff.txt
    2726
    2827Given 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: