Xcode: show Git status in the gutter

Originator:igeek1
Number:rdar://26866695 Date Originated:17-Jun-2016 11:40 AM
Status:Duplicate of 13349909 Resolved:23-Jun-2016 03:24 AM
Product:Developer Tools Product Version:Xcode 7.3.1 (7D1014)
Classification:Enhancement Reproducible:Always
 
Summary:
I use the GitDiff plugin (https://github.com/johnno1962/GitDiff) to show the Git status of each line in Xcode's gutter. By default, it shows orange for modified code, green for new code, and a small red line for deleted code. Mousing over an orange block or red line shows the previous state of the line or hung in a popup.

Steps to Reproduce:
1. Work on a long file in Xcode.
2. Jump to the bottom of the file to change something.
3. Desire to jump back to where you were just working.

Expected Results:
You can scroll quickly, and look for the little tick marks in the gutter to find the code you were working on.

Actual Results:
There are no such marks.

Version:
Xcode 7.3.1 (7D1014)

Notes:
It would be nice to either have this built in, or have Xcode 8 extension points support modifying the gutter, so that someone else could build this extension. It will be a shame to lose the ability to see Git status in the gutter once I switch over to Xcode 8.

Configuration:


Attachments:
Screenshot of GitDiff: http://cl.ly/gTpD

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!