Highlighting modified lines in Eclipse

前端 未结 8 1365
执笔经年
执笔经年 2021-01-29 22:11

In netbeans, if I open a file which is under version control the lines which are modified are highlighted in the left. (green for new lines and blue for modified lines)

8条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-29 22:41

    For Eclipse Version: 2019-03 (4.11.0) Go to

    1. Select 'window'
    2. Select 'Preferences'
    3. Go to General -> Editors -> Text Editors -> Quick Diff
    4. Tick 'Enable quick diff'
    5. Tick 'Show differences in overview ruler'
    6. If you want to keep the changes after you save your local copy, then you need to tell the eclipse to compare the local copy with the repository version. To do that change the reference source accordingly.

提交回复
热议问题