Eclipse plugin to mark code

后端 未结 3 1983
一个人的身影
一个人的身影 2021-01-03 01:22

Is there an Eclipse plug-in to mark code, as with a highlighter pen. Anyone know if this is possible?

相关标签:
3条回答
  • 2021-01-03 01:37

    You could mark the line you want to highlight with a bookmark and then set a background color to highlight the bookmark. You have to go in : preferences -> General -> Editors -> Text Editors -> Annotations and then set the Text as highlighted with your preferred color :

    ScreenShot

    0 讨论(0)
  • 2021-01-03 01:57

    I don't know of any such plug-in - I also searched Eclipse marketplace and Google for that.

    However, if you have some experience with Eclipse plug-in development, writing an Eclipse command that creates an annotation for the selected text in the current editor should not be too hard (at least for your own use).

    0 讨论(0)
  • 2021-01-03 02:03

    I usually use //TODO. It gives a nice visual bookmark type thing which you can use to jump easily.

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