开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜