Highlighting lines with keywords in Eclipse
I would like to highlight permanently (not as a search res开发者_如何转开发ult) the logger lines in Eclipse to read quickly the real code.
For example, each line beginning with "logger." would have a light grey background.
Is it possible ?
I think the closest you could get to such a feature would be activating 'Mark Occurrences' by pressing Shift + Alt + O
or activating it in the settings. Then, you only have to click on logger.
and Eclipse marks all occurrences of that line in the file.
I can't think of any way to permanently mark any given expression, though, as this solution will only work with types, methods, constants etc.
精彩评论