简体   繁体   English

如何在Eclipse中清除搜索结果?

[英]How do I clear search results in Eclipse?

In Eclipse, a file search for a text pattern results in a yellow arrow at the far left margin for each line containing a match. 在Eclipse中,文本模式的文件搜索会在包含匹配项的每一行的最左边缘处生成黄色箭头。 How can I clear these markers? 我该如何清除这些标记? They obscure any breakpoints I wish to place at those lines. 它们掩盖了我希望放在那些线上的任何断点。

在此输入图像描述

Open the search view: Window -> Show view -> Other -> General -> Search 打开搜索视图:窗口 - >显示视图 - >其他 - >常规 - >搜索

Click the "clear all" button (it looks like 2 crosses), 单击“全部清除”按钮(看起来像2个十字架),

Just to add, on mouse over of the two crosses, tool tip reads as Remove All Matches , and to make it more clear 只是添加,在鼠标悬停在两个十字架上时,工具提示读取为Remove All Matches ,并使其更清晰 在此输入图像描述 ,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM