Show annotations not working

前端 未结 3 1121
名媛妹妹
名媛妹妹 2020-12-14 09:14

I use Eclipse with egit plugin. When I click Team -> Show Annotations, it shows up nothing. But I could view annotations by going to the history and then right clicking on t

相关标签:
3条回答
  • 2020-12-14 09:38

    I banged my head on this for a bit today. Right-clicking a file in Project Explorer or Package Explorer, then selecting "Team" > "Show Annotations" does not work (at least in version 4.5.1). So don't do that. I found the easiest way to show annotations is just click on the vertical ruler then select "Show Annotations" from there.

    By the way, the ignore whitespace bug that @Derek mentions has been fixed. From the bug ticket,

    After updating to the 3.4.0.201405071430 showing the annotations worked also without setting the property "Ignore whitespace changes" So the bug seems to be fixed.

    I verified that I am not impacted by the bug in 4.5.1

    0 讨论(0)
  • 2020-12-14 09:39

    I was having the same problem and this worked for me (in two different computers):

    1. Make sure annotations are well set up, for example, if you want to see errors on the vertical ruler, you must have that option activated. Preferences > General > Editors > Text Editors > Annotations > Errors > Show in > Vertical ruler

    2. Make sure your project is marked as a PyDev project. Right-click on your project > PyDev > Set as PyDev Project (if you see Remove PyDev Project config it is already marked as one)

    3. Lastly, make sure your source folder is correctly identified. Right-click on your source folder > PyDev > Set as source folder (add to PYTHONPATH)

    In the last step, if you see Set as non-source folder (remove from PYTHONPATH) it is already marked as one and, in that case, this solution shouldn't work for you, but you can try to undo and redo steps 2 and 3.

    I'm using Eclipse Kepler, PyDev 3.2 and EGit 3.2.

    0 讨论(0)
  • 2020-12-14 09:53

    I found eclipse bug 394161 that says the show annotations functionality won't work unless you set your EGit preferences to ignore whitespace changes. You can do that by going to Window -> Preferences -> Team -> Git and checking the box that says "Ignore whitespace changes". That fixed the problem for me.

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