There is great control over your searches, but for large solutions, one important thing is missing.
I have 28,489 files in my workspace from the modules making up my workspace. I have 1,526 *.js files containing methods, and 25,222 *.obj files containing forms and their elements. Doing a search to find references for a method is quite fast, since I have a brand new and very fast machine. However, searching for a form name in files of type *.obj, to see what tab panels are using the form in the workspace, results in a coffee break. The problem is there is no way to limit the search to just tab panels, so every element (buttons, labels, etc.) has to be searched. It finds the result, but could be much more efficient. I could imagine the same problem if I was looking for where a global field is used on layouts, for example. Is there some way to restrict the search to only certain types of object files? Mabye I’m doing the search incorrectly.
Also, I noticed a very unusual dialog during these long searches. After a search has been running for a long time, the progress dialog displays the message “BEAUTIFUL…PLEASE WATCH!(11.1 KB)”. I searched my workspace (and my laptop) and can not find any such text, so it must be in the search engine itself. Perhaps if one were to search 100,000 files in a really large solution, it shows a message like “ENOUGH…PLEASE STOP ALREADY!”
Looks like you found an Eclipse Easter Egg!
Maybe to constrain your searches you could go to the Navigator view, select the nodes you want to search on, and perform a search on “Selected Resources”…
Or create some working sets for searching, but I cannot imagine any other way…
It seems in Eclipse 3.5 search is much faster, so this should be improved in Servoy 5.0 .
Okay, I’m confused. How do I create working sets with Servoy in Eclipse?
I use Mylyn with Tasktop (awesome!), so I see how to create working sets with tasks, but I don’t see how to create working sets in Servoy that I can use for searches. Can you expand a little on your suggestion?
Thanks.
gdotzlaw:
Okay, I’m confused. How do I create working sets with Servoy in Eclipse?
I use Mylyn with Tasktop (awesome!), so I see how to create working sets with tasks, but I don’t see how to create working sets in Servoy that I can use for searches. Can you expand a little on your suggestion?
Thanks.
Use the “Navigator” View (if you don’t have it open, choose Window > Show View > Others… then deploy the Generat Tab and choose Navigator).
Click on the little triangle on the top right of the view and choose “Select Working Set…” which will open a dialog allowing you to define any kind of working set (For Servoy use “Resource”)
Hope this helps.
Thanks, I see now how to create working sets with my Servoy resources. I was getting confused by my mylyn working sets for task categories which also appear in the dialog.