I always do: 

self flag: #todo. “An explanation here”

probably not the best… but works. 

Esteban

> On 09 Mar 2015, at 15:55, Andrei Chis <chisvasileand...@gmail.com> wrote:
> 
> Or you can add
> 
> <todo: 'fix me'>
> and then search for methods using the pragma todo:
> 
> 
> Andrei
> 
> On Mon, Mar 9, 2015 at 3:51 PM, Marcus Denker <marcus.den...@inria.fr 
> <mailto:marcus.den...@inria.fr>> wrote:
> 
> > On 09 Mar 2015, at 15:44, sergio_101 <sergio....@gmail.com 
> > <mailto:sergio....@gmail.com>> wrote:
> >
> > Hi, all.
> >
> > Does anyone have any ideas on this?
> >
> > I would like to be able to do a quick text search in all classes and 
> > methods in a package for text.
> >
> > for instance, when i see an opportunity for a refactor, i put a comment 
> > something like:
> >
> > "TODO: break this method apart here"
> >
> > and move on..
> >
> > it would be great if i could quickly find all methods in my package that 
> > contain the text "TODO" in a comment somewhere.
> >
> 
> You can just add
> 
> self flag: #TODO. “do this complex thing later…"
> 
> search for senders of TODO -> list of everything.
> 
> Or add the description as the argument to #flag:
> 
> self flag ‘TODO: break this method apart here’.
> 
> 
> 
>         Marcus
> 
> 
> 

Reply via email to