Organize globals methods in Scoopes

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

Organize globals methods in Scoopes

Postby Adelo Herrero » Fri Nov 23, 2012 6:02 pm

Hi all:
I want to organize my global methods in diferents scopes, but I can't find how to move between them.

Is it possible to change a method of scope and all references (code refactor)?

Thanks.
Adelo Herrero
Adelo Herrero
 
Posts: 103
Joined: Sat Jul 25, 2009 9:24 pm
Location: Requena (Valencia) España

Re: Organize globals methods in Scoopes

Postby jcompagner » Thu Nov 29, 2012 3:49 pm

cut and paste should work fine (don't copy/paste because then the uuid's could be a problem)

Best is to cut/paste it and let servoy generate new uuid's (remove the @properties line in the jsdoc)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Organize globals methods in Scoopes

Postby Adelo Herrero » Thu Nov 29, 2012 6:40 pm

Thanks for the reply:

I was looking for a refactoring option to move the method of Scope and change all these references automatically in the source code.

Best regards.
Adelo Herrero
Adelo Herrero
 
Posts: 103
Joined: Sat Jul 25, 2009 9:24 pm
Location: Requena (Valencia) España

Re: Organize globals methods in Scoopes

Postby swingman » Thu Nov 29, 2012 7:28 pm

Adelo Herrero wrote:I was looking for a refactoring option to move the method of Scope and change all these references automatically in the source code.


+1
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 3 guests