how do replace barVal by barValTmp in a method?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

how do replace barVal by barValTmp in a method?

Stéphane Ducasse
Hi

this is several time that I need such simple edit function and I do  
not suceed.
Does one of you know how do replace barVal by barValTmp in a method?

Setf

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: how do replace barVal by barValTmp in a method?

Lukas Renggli
The refactoring browser provides "refactor code > rename temporary".
Make sure to have a temporary variable selected before trying to
invoke that command.

Lukas

On Tue, Mar 31, 2009 at 9:38 PM, Stéphane Ducasse
<[hidden email]> wrote:

> Hi
>
> this is several time that I need such simple edit function and I do
> not suceed.
> Does one of you know how do replace barVal by barValTmp in a method?
>
> Setf
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: how do replace barVal by barValTmp in a method?

Stéphane Ducasse
Yes I should have asked without using rb.
I think that any texteditor should have that feature :)

Stef

On Apr 1, 2009, at 11:05 AM, Lukas Renggli wrote:

> The refactoring browser provides "refactor code > rename temporary".
> Make sure to have a temporary variable selected before trying to
> invoke that command.
>
> Lukas
>
> On Tue, Mar 31, 2009 at 9:38 PM, Stéphane Ducasse
> <[hidden email]> wrote:
>> Hi
>>
>> this is several time that I need such simple edit function and I do
>> not suceed.
>> Does one of you know how do replace barVal by barValTmp in a method?
>>
>> Setf
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: how do replace barVal by barValTmp in a method?

Lukas Renggli
With the regular expression extensions to OB-Refactory it is possible
to search and replace strings across a selected set of methods. I
understand that this is not what you want either, but I like the
feature ;-)

Lukas

On Wed, Apr 1, 2009 at 11:31 AM, Stéphane Ducasse
<[hidden email]> wrote:

> Yes I should have asked without using rb.
> I think that any texteditor should have that feature :)
>
> Stef
>
> On Apr 1, 2009, at 11:05 AM, Lukas Renggli wrote:
>
>> The refactoring browser provides "refactor code > rename temporary".
>> Make sure to have a temporary variable selected before trying to
>> invoke that command.
>>
>> Lukas
>>
>> On Tue, Mar 31, 2009 at 9:38 PM, Stéphane Ducasse
>> <[hidden email]> wrote:
>>> Hi
>>>
>>> this is several time that I need such simple edit function and I do
>>> not suceed.
>>> Does one of you know how do replace barVal by barValTmp in a method?
>>>
>>> Setf
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project