如何从 Eclipse 中的标记视图中排除文件/文件夹?

发布于 2024-11-19 02:12:12 字数 154 浏览 5 评论 0原文

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

○闲身 2024-11-26 02:12:12

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

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)

与风相奔跑 2024-11-26 02:12:12

您可以通过单击“小向下箭头”来配置“标记”视图的内容(在源代码中显示错误和警告的视图)和“任务”视图的内容(显示“TODO”和“FIXME”的视图) ”位于视图右上角(靠近最小化和最大化按钮),然后单击配置内容...条目。

希望这能有所帮助,
马努

You can configure the content of the Markers view (the one displaying errors and warning in source code) and the content of the Tasks view (the one displaying "TODO" and "FIXME") by clicking on the "small down arrow" in the top right of the view (near the minimize and maximize buttons) and then clicking on Configure Contents ... entry.

Hope this can help,
Manu

℡Ms空城旧梦 2024-11-26 02:12:12

通过像 Manu 所说的那样选择配置内容,还可以选择使用范围区域列出特定工作集的任务。正确的。

这对我有用,我不再对所有 Zend Framework @todo 感到恼火。

希望这有帮助,斯特凡

By selecting Configure Contents like Manu said, there is also the option to list the tasks for a specific working set, using the Scope area at the right.

That worked for me, and I'm not annoyed anymore by all Zend Framework @todo.

Hope this helped, Stéphane

行雁书 2024-11-26 02:12:12

我正在做一个节点应用程序,想要排除我的节点模块文件夹。我发现执行此操作的唯一方法是创建一个排除该目录的工作集并设置任务 ->配置该工作集的内容。

如何排除在 Eclipse 项目中产生警告/错误的文件夹?

I'm doing a node app and wanted to exclude my node modules folder. I found the only way to do this is to create a working set that excludes that directory and set the Task -> configure contents to that working set.

How to exclude a folder that is producing warnings/errors in an Eclipse project?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文