Eclipse code line change - eclipse

I often switch from Eclipse to Netbeans and back. There is a feature in Netbeans that allows you to see changed lines in code due to repository.
Example:
Is there something similar in Eclipse?

Yes, right click the file Team -> Show Annotation... When you hover over the colored line numbers you see the committing user and the commit message. If it is a local change it is just white.

Related

Lost column/line fields in the status bar using Eclipse

I used to see the line and column (character count) in the status bar of Eclipse (actually Precision32's version of Eclipse), but somehow it went away. According to the Eclipse UI guidelines it's supposed to be there:
Editors with source lines of text should show the current line and
optionally column numbers the status line. It's optional for the
editor to show line numbers for each line in the editor itself.
But I can't find anything that tells how to turn it on. I didn't update my editor, AFAIK.
Edit:
The editor is active.
I have no idea what happened, but it started working again. Might be when I installed Juno eclipse, maybe some register settings in common were touched? I hate doing a re-install to fix a problem as you lose settings and it isn't getting to the root cause, but for this round I'll have to accept it.

Eclipse IDE lost popup menu suggestions

I've seem to have lost the ability in my Eclipse to auto-correct errors in my source code lines.
For example, a line like this:
Date date = new Date();
has red jagged lines beneath the Date() part. Previously I could mouse hover over it see a popup menu of options to fix it. Now I all I ever get is a popup with the text "Cannot resolve to a type".
The only change I can think of that I've made and I don't know if it has anything to do with this problem, is that I started editing my .java files with an outside editor. Then focusing back into Eclipse I get a popup saying the source has changed and do I want to update so I say OK.
Sometimes I will edit inside Eclipse and sometimes i will edit the source outside of Eclipse. I'm not sure if this is a bad practice or not?
Its your wish to edit Java files outside or inside eclipse. But Java editor has many features which are very helpful to developers. I suggest to edit Java files inside eclipse only.If you find other editors are good or you used to it then no problem you can edit Java files out side eclipse also. The problem you mentioned in not related to it. But make sure that changes are applied before building project in eclipse.
Solution
This occurs whenever there are multiple classes are available with the same name in you build path then eclipse don't know which one to import by default. So keep the caret on the error line and press Ctrl+1. Then a eclipse gives options to user to import one among these. See the picture below. Choose the right one then error will disappear.

Any Eclipse plugin to show Mercurial diff of file in editor?

Plugins like vim-signify for Vim show the diff status of the file being edited, if the file belongs to a Mercurial or Git repository. It displays this information by showing indicators for the lines which have changed since last commit, along the left gutter of the editor window.
Is there any similar plugin for Eclipse which works with Mercurial? That is, while editing a file which belongs to a Mercurial repository, the lines which have changed are highlighted or indicated by some means.
The one and only one worth it :) : https://bitbucket.org/mercurialeclipse/main/wiki/Home

GUI for "svn blame" with a slider for history

Does anyone know UI tool (Eclipse plugin would be great, but any other, for Linux/Windows is acceptable) that allows to see difference of some part of code, but also allows switch between revisions quickly, e.g. by using slider.
I like the Team -> Show Annotation... functionality. It colors the left side of the editor and groups changed lines by color. When you hover over one section you get the commit details (revision/author/date/comment).
I've used SVN time lapse view with some success.
http://code.google.com/p/svn-time-lapse-view/
It would be nice if Tortoise SVN blame included this history slider feature.

Eclipse: How to show user who changed this line in CVS?

Someone once showed me a cool IntelliJ Idea plugin that would show all the user commit information from CVS right there in the Java source editor.
It had a vertical bar on the right of the window and every code block changed/committed by a user was highlighted with different color and mouse-over would show the details about user and version etc.
I am craving for something similar in Eclipse.
Any pointers?
Are you looking for this?
Right-click on a file, choose "Team", "Show annotation" and you'll see who last edited which line of code.
Here is an illustration from the "What's New in Eclipse 3.2" article from onjava.com, which adds:
Hovering over a change block will show the developer name, date, and comments that were entered for that change. It will also highlight other sections of code in the rest of the file that were contributed in the same revision.
(source: onjava.com)