[Pharo-project] Problems loading underscore assignments

Lukas Renggli renggli at gmail.com
Sun Jan 29 10:48:41 CET 2012


Yes, the refactoring engine contains a code transformation that fixes
automatically and preserves all formatting. Just run Code Critics on
your package and apply the suggested transformations for
"Transformations > Underscore assignements should be avoided".

Again you must evaluate "Scanner allowUnderscoreAsAssignment: true"
before running Code Critics, otherwise the refactoring engine does not
parse methods with underscore assignments.

Lukas

On 29 January 2012 05:32, Sean P. DeNigris <sean at clipperadams.com> wrote:
> Is there a way for fix underscores via OB in lieu of the programmatic way
> shown at
> http://book.pharo-project.org/book/Tidbits/TipsAndTricks/FixingUnderscores ?
>
> --
> View this message in context: http://forum.world.st/Problems-loading-underscore-assignments-tp4337617p4337618.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>



-- 
Lukas Renggli
www.lukas-renggli.ch



More information about the Pharo-project mailing list