Searching for references to value lists, relations etc.

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:
This is quite a bit of work just to find all the references for something

Yes

Yeroc:
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.

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.

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.