Monday, February 18, 2013

Overview Plugin for Eclipse


The Overview Eclipse Plugin shows the overview of the current text editor in the Overview view. Here is a screenshot:

Please note that the tooltip shows the line under the cursor with a » . If the mouse is clicked the tracked editor will scroll to that line.
Install it from this update site:

http://sandipchitaleseclipseplugins.googlecode.com/svn/trunk/text.overview.updatesite/site.xml

Now available on Eclipse Marketplace.



You may have to reset the perspective first time after installation to get the Overview view in the right position i.e.to the right of Editors area.

TODO
  1. Use Overview view to scroll the editor whose overview is being shown.
  2. Track the changes to the tracked editor. Well, sort of. When the editor contents are modified the Overview stops updating. It resumes if the modifications are saved or the focus is lost to other editor and then regained.
  3. Show tooltip with context showing line under caret.
  4. Track changes to text as the user is typing.
Tested with Eclipse 3.5+ and 4.1+.

Source

Enjoy! 

7 comments:

kriboogh said...

Promising plugin! However I'm currently seting up Eclipse Kepler (4.3). Plugin installs and I can see the view however these things happen:

- using default theme (white background) I don't see the selected area where I currently am in a large file
- changing files does not update the view, I always see the first file it was opened upon, would be great if there was some synchronize button (like the double yellow arrows in the outline view)

Keep up the good work!

kriboogh said...

Ok, just restarted eclipse and now it works.

Great!

A feature request:
When you double click a line in the overview jump to that line in the real editor.

Sandip Chitale said...

@kriboogh

Glad to hear it works now.

Single clicking a line in Overview view should move the caret in real editor to the same line. Do you mean that double clicking should move the focus also? If so I can do implement that soon.

Sandip Chitale said...

@kriboogh

Your feature request has been implemented. Get the latest.

meros said...

Is it possible to make the plugin show the entire file even if it is very long (not limiting the zoom size)?

Sandip Chitale said...

@meros It does show the whole file. That is why there is vertical scroll bar.

If a file is very large and is to be shown completely in the available vertical height you will not be able to see anything as the font size will have to be below available minimum font size.

It is possible that I have not understood your request correctly.

Tim Whitbeck said...

I opened an issue on your Google Code page. I just wanted to say thanks for an awesome Eclipse plugin! This overview feature is so much more helpful than the "Outline" view, at least for me.