在 Eclipse 中突出显示带有关键字的行
我想永久突出显示 Eclipse 中的记录器行(而不是作为搜索结果),以快速读取实际代码。
例如,每行以“logger”开头。将有浅灰色背景。
是否可以 ?
I would like to highlight permanently (not as a search result) 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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为最接近此类功能的方法是按 Shift + Alt + O 或在设置中激活它来激活“标记出现情况”。然后,您只需单击
logger.
,Eclipse 就会标记文件中出现的所有该行。不过,我想不出任何方法来永久标记任何给定的表达式,因为此解决方案仅适用于类型、方法、常量等。
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 onlogger.
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.