| Summary: | Provide 'Link with editor' button for 'CVS Annotate' view | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Marcel Schutte <mschutte1> |
| Component: | CVS | Assignee: | platform-cvs-inbox <platform-cvs-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | Keywords: | helpwanted |
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Marcel Schutte
This would be a good feature but it is not trivial to implement. The problem is that Annotate currently only works for editors that are opened by the Annotate Actions. To generalize it, we would need to make it works for any editor. This wouldn't be too difficult except fr the case where the file the editor is showing has been changed locally. I'm not sure what we could do in that case. Does anyone else think it would be a good idea to be able to just display the annotations down the left side of the editor, like the line numbers, without leaving the perspective? IntelliJ's Idea does this very nicely and allows it to be easily turned on and off. The result is an edit screen that looks much like the command line output of cvs annotate with the annotations being uneditable and the text of the file being editable. To answer the case of locally modified files, why not just add a line for locally modified and link to that for the modified lines? If my suggestion is taken with respect to not switching perspectives to view annotations, lines that are modified would have an indicator that they are locally modified or possibly would show no annotation at all. We have put this is in for the 3.2 release under the guise of Live Annotate. To use it, just select Team>Show Annotation from the Package explorer or an editor. (You will be asked if you want to use Live Annotate, say yes). The annotations are shown down the side and clicking on them (or clicking on a line in the editor) will reveal the revision in the history view. Note that this annotate can only be performed on files within your workspace, remote files (i.e. ones in the repositories view) can only be annotated via the old mechanism. |