Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Problem about plugin supports search feature In eclipse(search in eclipse)
Problem about plugin supports search feature In eclipse [message #1816743] Wed, 06 November 2019 08:26 Go to next message
david taylor is currently offline david taylorFriend
Messages: 2
Registered: November 2019
Junior Member
Hello friends.
I have a question to ask you guys.
I am very comfortable and happy with eclipse, but I see my colleagues using intellij, and I really would like to have that same project-search functionality in eclipse.

I'm referring to the ctrl+shift+f window (Find in Path window).

At very least, I'd like to be able to open search results in a new window, but would like to have a preview in a new window that I can easily compare code with.

Is there a plugin to add this kind of functionality in eclipse? Thank you.
Thank's a lot!

Re: Problem about plugin supports search feature In eclipse [message #1816755 is a reply to message #1816743] Wed, 06 November 2019 11:20 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1828
Registered: July 2009
Senior Member
I don't think I fully understand what exactly you see missing.

Quote:
open search results in a new window


In Eclipse the search results view, is a regular view that can be moved to a new window as you like.

Quote:
a preview in a new window that I can easily compare code with


Here you lost me. What do you want to compare? In Eclipse "preview" commonly refers to a window that shows, what code would look like, if certain changes (refactoring etc.) were applied. But search doesn't change anything, so what is a "preview" in your terminology?

Re: Problem about plugin supports search feature In eclipse [message #1816760 is a reply to message #1816755] Wed, 06 November 2019 12:35 Go to previous messageGo to next message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
Stephan Herrmann wrote on Wed, 06 November 2019 12:20
Quote:
a preview in a new window that I can easily compare code with


Here you lost me. What do you want to compare? In Eclipse "preview" commonly refers to a window that shows, what code would look like, if certain changes (refactoring etc.) were applied. But search doesn't change anything, so what is a "preview" in your terminology?

@Stephan, it looks like IntelliJ's search dialog shows the lines where the search results have been found [1]; that may be the feature David is talking about:

https://intellij-support.jetbrains.com/hc/user_images/89IhZk4SLE5JFyQ_TX5nyw.png
(screenshot found at [2])

@David, as Stephan I am not sure about the exact feature you're missing but you can use the CTRL+H shortcut to perform an advanced search. Results will be shown in the Search view and you'll be able to preview the changes if you want to replace search results.

If you're working on Java you can combine the Search view with the Declaration view to see the code where the results have been found; that's not exactly what IntelliJ offers but that's the closest I can think of.

[1] https://intellij-support.jetbrains.com/hc/user_images/89IhZk4SLE5JFyQ_TX5nyw.png
[2] https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000151604-New-Find-in-Path-window
Re: Problem about plugin supports search feature In eclipse [message #1817600 is a reply to message #1816760] Tue, 26 November 2019 12:53 Go to previous message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
It looks like Eclipse 2019-12 will feature an enhanced Quick Search dialog that shows matching lines [1] that behaves like IntelliJ's one. See bug 548518 [2] for the discussion about this new feature.

https://www.eclipse.org/eclipse/news/4.13/images/quick-search.png

[1] https://www.eclipse.org/eclipse/news/4.13/platform.php#quick-text-search
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=548518
Previous Topic:Unbound classpath container: JRE System Library (in test, OS X, tycho)
Next Topic:Cannot connect to socket - new to java/eclipse
Goto Forum:
  


Current Time: Sat Dec 05 04:53:52 GMT 2020

Powered by FUDForum. Page generated in 0.03855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top