anyedittools icon indicating copy to clipboard operation
anyedittools copied to clipboard

Add "Mark Occurrences" capability for text files

Open cassiobastos opened this issue 8 years ago • 6 comments

Eclipse allows us to mark occurrences of the selected element only for java and javascript files. It would be very helpfull being able to do that in .sql, .txt, etc...

cassiobastos avatar Sep 14 '16 18:09 cassiobastos

I see your pain. Kate does this in the nice way. I think this should be doable, but I have no free time for it yet. If someone wants to contribute it, pull requests are welcome. What would be even better, if this would be part of the standard Eclipse => I'm going to create an enhancement request.

iloveeclipse avatar Sep 15 '16 07:09 iloveeclipse

https://bugs.eclipse.org/bugs/show_bug.cgi?id=501471

iloveeclipse avatar Sep 15 '16 08:09 iloveeclipse

Hi, I just wanted to point that LiClipseText (http://www.liclipse.com/text/) has that feature (while working as a generic editor for many formats).

fabioz avatar Sep 16 '16 11:09 fabioz

LiClipseText (http://www.liclipse.com/text/) has that feature

Fabio, do you want to contribute this to the platform?

iloveeclipse avatar Sep 16 '16 11:09 iloveeclipse

Well, unfortunately, I think that the current implementation:

https://github.com/fabioz/LiClipseText/tree/master/plugins/org.brainwy.liclipsetext.shared_ui/src/org/brainwy/liclipsetext/shared_ui/mark_occurrences https://github.com/fabioz/LiClipseText/tree/master/plugins/org.brainwy.liclipsetext.editor/src/org/brainwy/liclipsetext/editor/common/mark_occurrences

is too tied to the infrastructure available on LiClipse and I really don't have the time to port it to the platform (but I'm Ok -- and the license allows for it -- if someone wants to use it a reference to add it to the platform)...

fabioz avatar Sep 16 '16 12:09 fabioz

OK, I see, I have similar things in AnyEdit to color whitespace, and it is also tightly coupled with the rest of AnyEdit.

I think a complete new implementation wouldn't be much more complicated as removing the code dependencies from copy/pasted code :-).

We only need someone who can get free time for it :-)

iloveeclipse avatar Sep 16 '16 12:09 iloveeclipse