hi there, i started using the todo bundle more extensive recently and eventually took a look at the configuration possibilities. i looked around the settings.rb and found the announced preference dialog and started using it.
first i ignored the RADAR tag, but later on i found myself thinking about "having something on the radar" as a future-task or something similar. so i edited the RADAR tag to match like FIXME or CHANGED.
after that nothing worked, because the todo.rb expects the RADAR tag to be associated with some spooky html-stuff which is not the case for me.
error as follows:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in `+': cannot convert nil into String
maybe one should fix that for future use. the most sophisticated way would be to provide a "MatchedTagFormatter" callback where one could provide a snippet to format matched content.
in either way, thanks for a great bundle and keep up the good work. ~fw
On 24.07.2007, at 15:01, frank waldheim wrote:
error as follows:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ TODO.tmbundle/Support/todo.rb:76:in `+': cannot convert nil into String
maybe one should fix that for future use.
Hm, ok. Radar is really for Apple Bug Reporter. See [1]. As such the tag with label "RADAR" has special meaning. I should clarify that in the Bundle Help. And I will of course fix that nasty error.
the most sophisticated way would be to provide a "MatchedTagFormatter" callback where one could provide a snippet to format matched content.
I don’t quite understand. What would you use it for and how should it work? It sounds a little over the top to me.
in either way, thanks for a great bundle and keep up the good work.
Thanks. Your feedback is appreciated.
Soryu.
On 24. Jul 2007, at 20:53, Soryu wrote:
On 24.07.2007, at 15:01, frank waldheim wrote:
the most sophisticated way would be to provide a "MatchedTagFormatter" callback where one could provide a snippet to format matched content.
I don’t quite understand. What would you use it for and how should it work? It sounds a little over the top to me.
Maybe though a format string would not be bad. So the default would be just: $1.