| 09-11-2005, 16:18 | #1 |
|
Registered User
![]() |
eclipse 3.1 JSP Search
Hi All, we recently upgraded to Eclipse 3.1 in my company and I've come across something that is starting to really annoy me. Basically I want to find references to say a class name or a method name within the codebase, just do the usual which is highlight that name, right-click and select find references. So far so good, it finds me the references, but then it goes on to a "JSP Search - <name to find references to>". That's what the dialog box name changes to at this point, in the dialog there's a progress bar and above which there's an informational icon with the title Searching, below the progress bar it says "JSP: lookup indexes..." . Now I've no idea why it does this, we have 2 separate projects within the workspace, the front-end client project does contain jsp pages but this was never referenced in previous Eclipse versions, I've tried to exclude any possibility of a jsp search by restricting the reference search by working set, i.e. only search the project for the server, but to no avail. The reason this bugs me is that even if I cancel on this search, or select run in background and then click the stop icon, it can still take a few minutes to shut down, and until it does it really hogs my resources! The relevant search of the code that actually contains useful references takes seconds, but then this useless search that produces no visible result slows Eclipse noticeably until complete. Not very good when you’re trying to run a trace reference to navigate up through many layers of the code base. Does anyone please know of a way I can disable this, the Eclipse Help is useless on it, doesn’t seem to know a thing about it, I’ve also googled it and come up with nada. Any tips greatly appreciated.
|
|
|
|
Advertisement
|
|
|
| 09-11-2005, 16:40 | #2 |
|
Registered User
![]() |
Not sure if we are on the same version of Eclipse but try this - it works for me:
Highlight the method you are looking for and click Ctrl-H. The Search dialog box should pop up with the java tab open and your method in the search string. Click on 'References' in the 'Limit To:' box In the Scope Box click on 'Working set' and 'Choose', when a box pops up click on New and Java and select your project location (obviously pick a location without the jsps!) and give the working set a name. Click on OK and then search. Last edited by homeOwner; 09-11-2005 at 16:49. |
|
|
| 09-11-2005, 16:55 | #3 |
|
Registered User
![]() |
Hi Homeowner, same result unfortunately . Actually that search you described is a alternative way of doing the one I described, tried it anyhow just in case
. thanks anyway, any chance you can check you Eclipse version by the way?
|
|
|
| 09-11-2005, 17:06 | #5 | |
|
Registered User
![]() |
Quote:
|
|
|
|
|
Advertisement
|
|
|
| 09-11-2005, 17:16 | #7 | |
|
Registered User
![]() |
Quote:
. And yeah, apart from a few nice new little features such as double clicking on a variable name in a class and all occurences of it being highlighted, from what I've seen so far I wouldn't see any need to rush out and upgrade. I'm sure there are many cool features I've yet to try out, tbh I'd still be happy coding away in Eclipse 2.0 if we weren't required to upgrade, the features I use everyday now were there then, the only difference is it didn't practically crash my machine, speaking of which some colleagues are now experiencing that regularly as a result of Eclipse.
|
|
|
|