[Pharo-project] Marking methods
Hi list, I've been thinking for a while that it'd be great if we could somehow graphically mark methods in the browser. Like adding an icon next to their name or highlighting them in different colors. When reviewing code, I find myself going through methods and would love to be able to mark them once they've been reviewed, to prevent me from going through them again. Does anyone else have the same needs? How do you guys manage this? I thought about flagging methods, but that'd mean I'd have to read through all my methods again to remove the flags once I'm done with the revision. Cheers, -- Bernat Romagosa.
A long-standing wish-list item for me is the ability to apply multiple categories to any given method. From there, one could "borrow" Dolphin's idea of virtual categories and/or associating icons w/ categories. ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Bernat Romagosa [tibabenfortlapalanca@gmail.com] Sent: Tuesday, October 25, 2011 5:18 AM To: An open mailing list to discuss any topics related to an open-source Smalltalk Subject: [Pharo-project] Marking methods Hi list, I've been thinking for a while that it'd be great if we could somehow graphically mark methods in the browser. Like adding an icon next to their name or highlighting them in different colors. When reviewing code, I find myself going through methods and would love to be able to mark them once they've been reviewed, to prevent me from going through them again. Does anyone else have the same needs? How do you guys manage this? I thought about flagging methods, but that'd mean I'd have to read through all my methods again to remove the flags once I'm done with the revision. Cheers, -- Bernat Romagosa.
Hi--
A long-standing wish-list item for me is the ability to apply multiple categories to any given method. From there, one could "borrow" Dolphin's idea of virtual categories and/or associating icons w/ categories.
FWIW, MethodEditions in Naiad (Spoon's history system) support associating search tags with each version of each method in the system. For more info, please see http://netjam.org/spoon/naiad/. -C -- Craig Latta www.netjam.org/resume +31 6 2757 7177 + 1 415 287 3547
Should not be difficult to mark with self flag: 'xyz' Run through the Packages ( if you are sure ) alone to later revert/ remove them.. or the whole system if so required, does not really that much time to find all sender methods of flag:. Probably give a browser customized to then selectively remove, edit or do anything needed. On Tue, Oct 25, 2011 at 2:48 PM, Bernat Romagosa < tibabenfortlapalanca@gmail.com> wrote:
Hi list,
I've been thinking for a while that it'd be great if we could somehow graphically mark methods in the browser. Like adding an icon next to their name or highlighting them in different colors.
When reviewing code, I find myself going through methods and would love to be able to mark them once they've been reviewed, to prevent me from going through them again.
Does anyone else have the same needs? How do you guys manage this? I thought about flagging methods, but that'd mean I'd have to read through all my methods again to remove the flags once I'm done with the revision.
Cheers, -- Bernat Romagosa.
nything needed.
On Tue, Oct 25, 2011 at 2:48 PM, Bernat Romagosa <tibabenfortlapalanca@gmail.com> wrote: Hi list,
I've been thinking for a while that it'd be great if we could somehow graphically mark methods in the browser. Like adding an icon next to their name or highlighting them in different colors.
a bit like on mac finder would be cool. Now it may be possible since you can attach properties to ring objects
When reviewing code, I find myself going through methods and would love to be able to mark them once they've been reviewed, to prevent me from going through them again.
Does anyone else have the same needs? How do you guys manage this? I thought about flagging methods, but that'd mean I'd have to read through all my methods again to remove the flags once I'm done with the revision.
Cheers, -- Bernat Romagosa.
On 19 February 2012 15:56, S Krish <krishnamachari.sudhakar@gmail.com> wrote:
Should not be difficult to mark with self flag: 'xyz'
You can also use pragmas for adding these kinds of metadata to your methods. <category: #myCategory> or <categories: #(foo bar baz)>. Pragmas also have the advantage that you know they cannot have side effects. (And they cannot compute anything: they may only contain literal values.) frank
Run through the Packages ( if you are sure ) alone to later revert/ remove them.. or the whole system if so required, does not really that much time to find all sender methods of flag:. Probably give a browser customized to then selectively remove, edit or do anything needed.
On Tue, Oct 25, 2011 at 2:48 PM, Bernat Romagosa <tibabenfortlapalanca@gmail.com> wrote:
Hi list,
I've been thinking for a while that it'd be great if we could somehow graphically mark methods in the browser. Like adding an icon next to their name or highlighting them in different colors.
When reviewing code, I find myself going through methods and would love to be able to mark them once they've been reviewed, to prevent me from going through them again.
Does anyone else have the same needs? How do you guys manage this? I thought about flagging methods, but that'd mean I'd have to read through all my methods again to remove the flags once I'm done with the revision.
Cheers, -- Bernat Romagosa.
participants (6)
-
Bernat Romagosa -
Craig Latta -
Frank Shearar -
S Krish -
Schwab,Wilhelm K -
Stéphane Ducasse