如何从eclipse中的Markers视图中排除文件/文件夹? [英] How to exclude files/folder from Markers view in eclipse?

查看:335
本文介绍了如何从eclipse中的Markers视图中排除文件/文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在eclipse中有没有办法阻止标记在标记视图中显示某个文件夹中的文件?即我导入了一个我不写自己的Javascript库,但它将成为我的项目的一部分,我不想看看这些文件中的所有TODO和FIXME标记,只需要仅查看我的标记...有没有办法排除标记过程扫描的某些文件夹或文件?

Is there a way in eclipse to stop markers from showing in the Markers view for files in a certain folder? I.e. I imported a Javascript library that I didn't write myself but it is going to be part of my project and I don't want to have to look at all the "TODO" and "FIXME" markers in those files and would just want to see my markers only... Is there a way to exclude certain folders or files form being scanned by the markers process?

推荐答案

显然,我可以通过将我想要排除的文件夹添加到项目 - >属性 - >验证下的排除列表中来解决这个问题。 (单击每个验证旁边的设置,添加排除组按钮,添加规则按钮,选择文件夹选项,浏览相对文件夹)

Apparently, I was able to resolve this by adding the folders I wanted to exclude to the exclusion list under Project->Properties->Validation. (Click settings beside each validation, Add Exclude Group button, Add Rule button, select folder option, browse for relative folder)

这篇关于如何从eclipse中的Markers视图中排除文件/文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆