14 May 16:46
Re: Easy way to define new methods referenced in a method?
From: Claus Kick <claus_kick <at> web.de>
Subject: Re: Easy way to define new methods referenced in a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-14 14:46:45 GMT
Subject: Re: Easy way to define new methods referenced in a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-14 14:46:45 GMT
Tim M wrote: > Is there an easy way to define methods when you reference them in a new > method? > > e.g. > renderContentOn: html > > html heading: 'ToDo-List'. > html div > class: 'menu'; > with: self menuComponent. > > > When I save it warns me that menuComponent isn't defined but there is no > option to define a stub method for it? So I simply select that its > correct. Then in the new method there is no refactor operation to > implement that method (in Dolphin I can select the AutoCorrect menu and > there is a define method option - is there some addin for Squeak that > does this? Or does everyone rely on having a test that calls the method > and so you let the debugger define it?) I would be grateful enough if I could tell the browser to ignore this error because I know what I am doing.
RSS Feed