Hi all,
I'm working on some PHP files and cannot get Show TODO List to work. I recall this bundle was updated recently, but I haven't really used the new version until now.
An example: one file has 1 FIXME comment and 2 CHANGED comments. When I try Ctrl-Shift-T, I get the TODO window which lists 1 FIXME and only the 1st CHANGED, and each of those seems to contain everything from the comment line to the end of the document.
Am I making some error with how the comment lines are formatted? E.g.:
// FIXME: need to copy header section to sitedev file.
On Aug 24, 2007, at 5:07 AM, Tim Mansour wrote:
[...] An example: one file has 1 FIXME comment and 2 CHANGED comments. When I try Ctrl-Shift-T, I get the TODO window which lists 1 FIXME and only the 1st CHANGED, and each of those seems to contain everything from the comment line to the end of the document.
Is the file saved with LF for line endings?
Is it reproducible if you create a new file and make 2 CHANGED items?
Did you change the pattern used for CHANGED via TODO -> Preferences? Try e.g. from Terminal: defaults read com.macromates.textmate|grep TODO
For what it is worth. I had somewhat similar problems. Tried everything, nothing worked. In the end - clean install, problem solved. Obviously something had been corrupted along the way. Anyway, a possible solution if Allan's suggestions don't help,
Kind Regards,
Mark P
On 27/08/07, Allan Odgaard throw-away-1@macromates.com wrote:
On Aug 24, 2007, at 5:07 AM, Tim Mansour wrote:
[...] An example: one file has 1 FIXME comment and 2 CHANGED comments. When I try Ctrl-Shift-T, I get the TODO window which lists 1 FIXME and only the 1st CHANGED, and each of those seems to contain everything from the comment line to the end of the document.
Is the file saved with LF for line endings?
Is it reproducible if you create a new file and make 2 CHANGED items?
Did you change the pattern used for CHANGED via TODO -> Preferences? Try e.g. from Terminal: defaults read com.macromates.textmate|grep TODO
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 27/08/2007, at 5:51 pm, Allan Odgaard wrote:
Is the file saved with LF for line endings?
Many thanks Allan ... CR was the culprit!