<div dir="ltr"><div dir="ltr">Here are some simple steps that reproduce the issue for me:<div><br></div><div>- Create this class:</div><div><br></div><div><font face="monospace">Object subclass: #MyTest<br> instanceVariableNames: 'foo'<br> classVariableNames: ''<br> poolDictionaries: ''<br> category: 'Volkmann'</font><br></div><div><br></div><div>- Add these instance methods:</div><div><br></div><div><font face="monospace">initialize<br> foo := 1.<br></font></div><div><font face="monospace"><br></font></div><div><font face="monospace">foo<br> ^ foo.<br></font></div><div><font face="monospace"><br></font></div><div><font face="monospace">foo: aNumber<br> foo := aNumber.</font><br></div><div><br></div><div>- Right-click in the method category pane of the System Browser and select "categorize all uncategorized".</div><div><br></div><div>The result is that the <font face="monospace">initialize</font> method is moved to the newly added "initialization" category,</div><div>but the <font face="monospace">foo</font> and <font face="monospace">foo:</font> methods remain in the "as yet unclassified" category.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 17, 2024 at 3:00 PM H. Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">It is the expected behavior to get accessors categorized in the 'accessing' category.<br>
<br>
Dr. Geo -- <a href="http://gnu.org/s/dr-geo" rel="noreferrer" target="_blank">http://gnu.org/s/dr-geo</a><br>
<br>
----- Mark Volkmann via Cuis-dev &<a href="mailto:lt%3Bcuis-dev@lists.cuis.st" target="_blank">lt;cuis-dev@lists.cuis.st</a>> a écrit :<br>
> I see that I can automatically assign methods in the "as yet unclassified"<br>
> method category to better categories by right-clicking in the method<br>
> category pane and selecting "categorize all uncategorized". This is only<br>
> able to categorize some methods. For example, it will put the `initialize`<br>
> method in the "initialization" method category. But it will not recognize<br>
> accessor methods<br>
> and put them in the "accessing" method category. I thought perhaps it would<br>
> look for methods whose names match a known instance variable. Is there a<br>
> reason why it doesn't use that approach?<br>
> <br>
> -- <br>
> R. Mark Volkmann<br>
> Object Computing, Inc.<br>
<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div>