Searching for references to value lists, relations etc.

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

Searching for references to value lists, relations etc.

Postby Yeroc » Fri Nov 12, 2010 12:59 am

All,

What's the best way to find all references in a solution and related modules to things like a valuelist, relation etc.?

So far this is the only way I've found:

1) Type CTRL-H & paste the name of the valuelist into the "Containing text:" box and hit the Search button. (This will only find any references to the valuelist made in javascript code.)
2) Switch to the resource perspective.
3) Find the valuelist (.val) file, right-click & choose Open With > Text Editor.
4) Select and copy the uuid to the clipboard.
5) Type CTRL-H again & paste the uuid of the valuelist into the "Containing text:" box and hit the Search button.

This is quite a bit of work just to find all the references for something. There must be a better way?

Thanks.
Yeroc
 
Posts: 109
Joined: Tue Aug 12, 2008 1:12 am
Location: Calgary, AB, Canada

Re: Searching for references to value lists, relations etc.

Postby mboegem » Fri Nov 12, 2010 9:39 am

Yeroc wrote:This is quite a bit of work just to find all the references for something

Yes

Yeroc wrote: There must be a better way?

No

This is the way Servoy has its references stored.
If you do a search you basically search through textfiles stored in your workspace, so there's no UUID <> object & v.v. translation.

You already found out the good news: you can search for almost anything. (also using regex)
The downside can be a double search.
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Searching for references to value lists, relations etc.

Postby Harjo » Fri Nov 12, 2010 11:14 am

We are waiting for the analyzer of IT2BE that works in Eclipse! 8)
That tool was excellent help for referencing all kind of objects, but only works on Servoy 3.5 with a repository db.
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Searching for references to value lists, relations etc.

Postby Yeroc » Fri Nov 12, 2010 6:07 pm

Thanks for the feedback. I'm not familiar with Analyzer but it seems to me this is functionality that should be built into the IDE. When working with larger solutions this is critical. I guess I'm very spoiled by the tooling support provided by Eclipse when doing Java development. While I recognize this is somewhat complicated by the fact that objects are referenced by uuid in forms and whatnot it should be reasonably straightforward for to have the IDE sort that out.

I've opened an enhancement request for this (case #334717).

Thanks.
Yeroc
 
Posts: 109
Joined: Tue Aug 12, 2008 1:12 am
Location: Calgary, AB, Canada


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 5 guests

cron