Refactoring @ Servoy

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Refactoring @ Servoy

Postby ars » Wed Oct 08, 2008 11:11 am

Hi all,

Does the Refactoring feature of Eclipse available in Servoy? Or I am missing at somewhere?
Arup Sahoo

Servoy Developer and Consultant

Find me @ arup.sahooATgmail.com
Skype me @ arup.sahoo
GTalk me @ arup.sahoo
User avatar
ars
 
Posts: 213
Joined: Thu Jun 28, 2007 2:04 pm
Location: India

Re: Refactoring @ Servoy

Postby lvostinar » Wed Oct 08, 2008 4:05 pm

What refactoring feature would you need ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Refactoring @ Servoy

Postby jcompagner » Thu Oct 09, 2008 10:14 am

we already have things like rename form, move form and duplicate form (last one is not really refactor)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Refactoring @ Servoy

Postby ars » Mon Oct 13, 2008 7:24 am

Hi Johan,

How can I rename my existing form name??

Does this renaming change all the references of that form automatically as it happens in Eclipse Refactoring??

It would be really handy if we can rename/move formVars, globalVars etc. and all the reference within the solution changed automatically.
Arup Sahoo

Servoy Developer and Consultant

Find me @ arup.sahooATgmail.com
Skype me @ arup.sahoo
GTalk me @ arup.sahoo
User avatar
ars
 
Posts: 213
Joined: Thu Jun 28, 2007 2:04 pm
Location: India

Re: Refactoring @ Servoy

Postby IT2Be » Mon Oct 13, 2008 8:42 am

> How can I rename my existing form name??
This can and could be done in the properties bar.

> Does this renaming change all the references of that form automatically as it happens in Eclipse Refactoring??
Yes.

> It would be really handy if we can rename/move formVars, globalVars etc. and all the reference within the solution changed automatically.
References will be changed automatically.

There is one but and that probably is the one that you refer to and that is the changes in your methods/code. They are NOT refactored.
I am pretty sure that Servoy will make that happen. If not I will make it part of the Analyzer for 4.0...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 12 guests