Highlighting modified lines in Eclipse

前端 未结 8 1362
执笔经年
执笔经年 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.

    0 讨论(0)
  • 2021-01-29 22:43

    Right-click on the file > Team > Show annotation.
    A brown tape will appear on the left-side of the code (it represents commited lines), and the modified lines will be shown in white.

    0 讨论(0)
提交回复
热议问题