开发者

Highlighting lines with keywords in Eclipse

开发者 https://www.devze.com 2023-03-14 07:19 出处:网络
I would like to highlight permanently (not as a search res开发者_如何转开发ult) the logger lines in Eclipse to read quickly the real code.

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

精彩评论

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