Improvement for 'find references' [message #885061] |
Tue, 12 June 2012 07:38  |
Eclipse User |
|
|
|
Hello,
Recently I switched to eclipse (coming from netbeans IDE) and although there are some nice features in eclipse some things are not as good as in netbeanse IDE.
One of them is find references, this feature does not even come close to what netbeans offers (it doesn't even come close, to coming close, but than on the other hand eclipse is a free open source project, so who am I to complain).
What I miss: if you right click a variable and choose 'References' / 'Project'
-In the search result you don't see the line of code where the variable is used (only the function name and the number of matches). This has two annoying effects:
1) You open a lot of files just to conclude 'nope, wasn't looking for that'
2) You can easily overlook a result (because it is the second match and you click on the next function instead of on the 'next' match.
-Netbeans has some awesome search options for OO design (like 'find overriding methods', 'search from baseclass,..).
I've searched the market but I can't seem to find any plugin for that, does anybody knows about the existence of such a plugin?
|
|
|
Re: Improvement for 'find references' [message #885161 is a reply to message #885061] |
Tue, 12 June 2012 10:41   |
Eclipse User |
|
|
|
On 12.06.2012 13:38, Nils Berghs wrote:
> Hello,
>
> Recently I switched to eclipse (coming from netbeans IDE) and although
> there are some nice features in eclipse some things are not as good as
> in netbeanse IDE.
>
> One of them is find references, this feature does not even come close
> to what netbeans offers (it doesn't even come close, to coming close,
> but than on the other hand eclipse is a free open source project, so
> who am I to complain).
>
> What I miss: if you right click a variable and choose 'References' /
> 'Project'
> -In the search result you don't see the line of code where the
> variable is used (only the function name and the number of matches).
> This has two annoying effects: 1) You open a lot of files just to
> conclude 'nope, wasn't looking for that' 2) You can easily overlook
> a result (because it is the second match and you click on the next
> function instead of on the 'next' match.
See https://bugs.eclipse.org/380992
>
> -Netbeans has some awesome search options for OO design (like 'find
> overriding methods', 'search from baseclass,..).
I suggest you give the 'Type Hierarchy' a try. Alternatively, you can
also search for methods in a hierarchy or filter methods from the Search
results.
Dani
>
> I've searched the market but I can't seem to find any plugin for that,
> does anybody knows about the existence of such a plugin?
>
>
>
|
|
|
|
|
Re: Improvement for 'find references' [message #886193 is a reply to message #885520] |
Thu, 14 June 2012 08:15  |
Eclipse User |
|
|
|
We indeed have an inconsistency between these:
- File Search: result view shows actual lines with matches
- Call Hierarchy: details pane shows all indiviual method calls corresponding to the selected caller node
- Java Search: only the node containing a match is shown, result view cannot show the match itself.
If you feel strongly about this we might discuss this in an enhancement request in bugzilla.
Stephan
|
|
|
Powered by
FUDForum. Page generated in 0.32149 seconds