How do I get line previews in Eclipse's context intelligent 'Java Search' (vs. context unaware 'File Search') -


when using search functionality in eclipse, especially, example, java method or field, 'reference in workspace'. (control+shift+g) when the cursor on method, say.

how have search results show 1 line preview. (think -- every other search tool i've used can offer, grep visual studio?)

if search on 'bit of text' (without benefit of scope parsing provided 'references' search, offers it), can't seem figure out how when search references.?

(which, for, say, class variables public double x, absolutely critically useful vs. sea of false listing come searching on 'x ')

//////////////////////////////////////////////////////

clarifying question example:

in screen shot1 attached, there 111 references method getheight(). but, without pop-pop-pop, jumping entry entry entry, there's no way see them?


screenshot a: screenshot a
( not letting me include directly due weird, kinda dumb annoying, account restriction thing...)


whereas, if search ( in workspace) getheight() using "file search" 'raw text' (case filtered, , filtering *.java) note seeing 560 matches, or 449 "false positives" relative scope i'm interested in. yet, see how search dialog view @ least! (yeah). offers me quick "line preview" of each entry.


. , screenshot b here:
screenshot b.


how line preview offered in screenshot b, 111 matches (the ones care in example) in 'scope filtering' search 'java search' tab in 'search' dialog box?

/////////////////////////////////////////////

i've looked , looked, tried extensions, dug through preferences settings, , can't seem figure out how 'enable' line preview searches it's "limited to" 'references'

as far know, eclipse java development tools (jdt) still (2017!) not offer such “one line” or “one expression” preview. there third-party plug-in, however, has feature: ctrlflow code search professional.

this screenshot its manual shows how results like:

different levels of detail when presenting search results

note commercial plug-in (and 1 of developers). has free trial, however.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -