[Newbies] TODO comments and searching
Mariano Abel Coca
marianoabelcoca at gmail.com
Tue Sep 30 20:52:56 UTC 2008
Actually, I use:
self toDo: 'Not forget to refactor this!!! It's ugly!!! bla bla bla...'.
And then I look up for senders of toDo: with alt+n
The implementation is:
"Do nothing, just annotation"
I think it's more descriptive than just a Symbol flag. But, it all depends
of what you are used to.
On Tue, Sep 30, 2008 at 7:36 AM, Norbert Hartl <norbert at hartl.name> wrote:
> On Tue, 2008-09-30 at 05:31 -0500, Mark Volkmann wrote:
> > If I put TODO comments in my code to mark things I still need to
> > finish, is there an easy way to get a list of all of those? For that
> > matter, how do you search all the code in a given category for a given
> > string?
> Searching for strings inside the code you can do by selecting
> a string and press ALT-Shitf-e. For your purpose you might have
> a look at Object>>flag: This way you mark your code this way
> self flag: #todo
> Then you can select todo and press Alt-n to get all senders
> of this symbol.
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners