Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Highlight all matches for various text(general text highlighting feature)
Highlight all matches for various text [message #524579] Thu, 01 April 2010 13:51 Go to next message
Maxim Veksler is currently offline Maxim VekslerFriend
Messages: 28
Registered: July 2009
Junior Member
Hello,

How can I enable an arbitrary text highlighting in Eclipse IDE?

To explain what I mean go to

1. Help > Help Contents
2. Hit ctrl+f
3. Make sure "Highlight all matches" is checked
4. enter the text "he"

You will notice that all text occurrence contains "he" will be highlighted.


I want the same functionality for the main Editor window.

I'm not speaking about "Search" highlighting because that is a vary long and contains many user clicks way to do such a simple and IMHO very common task.


p.s. I'm not sure if this plugin http://colorer.sourceforge.net/eclipsecolorer/ could provide the described feature.


Thanks for the help,
Maxim.
Re: Highlight all matches for various text [message #524679 is a reply to message #524579] Thu, 01 April 2010 18:38 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
Maxim Veksler wrote:
> How can I enable an arbitrary text highlighting in Eclipse IDE?

Try enabling "Mark Occurrences" (Control-Alt-O or from the toolbar) and then
use the incremental search: Control-J and then start typing. This highlights
all occurrences in my testing.

Brian.
Re: Highlight all matches for various text [message #525762 is a reply to message #524679] Wed, 07 April 2010 17:22 Go to previous messageGo to next message
Maxim Veksler is currently offline Maxim VekslerFriend
Messages: 28
Registered: July 2009
Junior Member
Brian de Alwis wrote on Thu, 01 April 2010 14:38
Maxim Veksler wrote:
> How can I enable an arbitrary text highlighting in Eclipse IDE?

Try enabling "Mark Occurrences" (Control-Alt-O or from the toolbar) and then
use the incremental search: Control-J and then start typing. This highlights
all occurrences in my testing.

Brian.


Hi Brian,

It did not work for me. Ctrl + J indeed does increment search but only the first result gets highlighted.

I'm looking for something like Chrome (Chromium) search which is IMHO perfect implementation for quick text search.


Any ideas?
Re: Highlight all matches for various text [message #526667 is a reply to message #524579] Mon, 12 April 2010 14:34 Go to previous messageGo to next message
Georgi Apostolov is currently offline Georgi ApostolovFriend
Messages: 1
Registered: April 2010
Junior Member
I have problem with highlight too. I want to see where start and end my bracelets

Like this: http://i73.photobucket.com/albums/i211/xspy/eclipse-bracers. jpg

I searched all day, no results Sad
Re: Highlight all matches for various text [message #526668 is a reply to message #526667] Mon, 12 April 2010 14:40 Go to previous messageGo to next message
Maxim Veksler is currently offline Maxim VekslerFriend
Messages: 28
Registered: July 2009
Junior Member
Georgi Apostolov wrote on Mon, 12 April 2010 10:34
I have problem with highlight too. I want to see where start and end my bracelets

Like this: http://i73.photobucket.com/albums/i211/xspy/eclipse-bracers. jpg

I searched all day, no results Sad


Indeed notepad++ highlighting is marvelous. It has the feature I am after (highlight all occurrences of the word on mouse double click) plus the mentioned above feature and a plethora of other very much helpful text editor tweaks.

Eclipse should adopt this editor highlighting logic into it's own editor. It would make many people happy.

Perhaps this deserves a feature request in Bugzilla ?
Re: Highlight all matches for various text [message #528483 is a reply to message #526668] Tue, 20 April 2010 16:30 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2411
Registered: July 2009
Senior Member
On 4/12/10 10:41 AM, Maxim Veksler wrote:
> Georgi Apostolov wrote on Mon, 12 April 2010 10:34
>> I have problem with highlight too. I want to see where start and end
>> my bracelets
>>
>> Like this:
>> http://i73.photobucket.com/albums/i211/xspy/eclipse-bracers jpg
>>
>> I searched all day, no results :(
>
>
> Indeed notepad++ highlighting is marvelous. It has the feature I am
> after (highlight all occurrences of the word on mouse double click) plus
> the mentioned above feature and a plethora of other very much helpful
> text editor tweaks.
>
> Eclipse should adopt this editor highlighting logic into it's own
> editor. It would make many people happy.
>
> Perhaps this deserves a feature request in Bugzilla ?

Eclipse already does this for other programming languages; if that
feature is not available in the PHP editor, I do suggest you check
Bugzilla; there is most likely a feature request for it already. Keep in
mind that this is open source and just having a request for a feature
does not magically make it appear in the next release; materializing
features takes contribution from the community.

Eric
Re: Highlight all matches for various text [message #549583 is a reply to message #524579] Tue, 27 July 2010 09:34 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: July 2010
Junior Member
Ctrl + shift + a finds 'occurances in a file' that highlights all occurances of the selected text as you describe.

Through the GUI its on the 'source' menu.
Re: Highlight all matches for various text [message #549736 is a reply to message #549583] Tue, 27 July 2010 18:57 Go to previous messageGo to next message
Maxim Veksler is currently offline Maxim VekslerFriend
Messages: 28
Registered: July 2009
Junior Member
What version of eclipse are you using? I don't see such option in 3.6 EE version (Java Perspective).
Re: Highlight all matches for various text [message #630905 is a reply to message #524579] Tue, 05 October 2010 14:39 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: October 2010
Junior Member
I have found this plugin for text highlighting
http://code.google.com/p/eclipse-glance/

It works like Notepad++ on doubleclick word highlighting after pressing Ctrl+Alt+F in any (!) Eclipse editor
Re: Highlight all matches for various text [message #631372 is a reply to message #630905] Thu, 07 October 2010 10:30 Go to previous message
Maxim Veksler is currently offline Maxim VekslerFriend
Messages: 28
Registered: July 2009
Junior Member
No Real Name wrote on Tue, 05 October 2010 10:39
I have found this plugin for text highlighting
http://code.google.com/p/eclipse-glance/

It works like Notepad++ on doubleclick word highlighting after pressing Ctrl+Alt+F in any (!) Eclipse editor



THANK YOU.

If this was stackoverflow here you would get an up vote + selected answer + A thank you very much comment Smile from me.

[Updated on: Thu, 07 October 2010 10:30]

Report message to a moderator

Previous Topic:Can't start eclipse
Next Topic:Editor window.
Goto Forum:
  


Current Time: Sun Dec 21 18:42:00 GMT 2014

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

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