How do I enable TODO/FIXME/XXX task tags in Eclipse?(如何在 Eclipse 中启用 TODO/FIXME/XXX 任务标签?)
问题描述
在我使用 Eclipse 的这些年里,直到现在我才知道 TODO/FIXME/XXX 注释标签应该出现在任务列表中.显然,这是默认禁用的,因为只要我一直在使用 Eclipse,我就一直在使用这些标签,而且我从未见过其中一个出现在任务列表中.谁能指出如何启用此功能?我在任何地方都看不到让我的源代码标签出现在任务列表中"的任何首选项选项.如果它存在,那将是一个很好的功能,但我开始怀疑了.
In all my years of using Eclipse, I never knew until now that TODO / FIXME / XXX comment tags are supposed to appear in the task list. Apparently this is something that is disabled by default because I have been using those tags for as long as I've been using Eclipse and I have never seen one of them appear in the task list. Can anyone indicate how to enable this feature? I see no preferences option anywhere that says anything to the effect of 'Let my source code tags appear in the task list'. It would be a nice feature if it existed, but I'm beginning to be doubtful.
我已经四处询问,也正如其他人向我建议的那样,这些是一些显然没有效果但我已经尝试过的东西:
I have asked around, and as others have suggested to me, these are some things which obviously have no effect but that I have tried anyway:
- 正在升级到最新版本的 Eclipse.
- 重新启动 Eclipse.
- 关闭并重新打开任务列表.
- 刷新项目.
我正在使用:
面向 Web 开发人员的 Eclipse Java EE IDE.
版本:Helios 服务版本 1
内部版本号:20100917-0705
I am using:
Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 1
Build id: 20100917-0705
推荐答案
对我来说,这些标签是默认启用的.您可以配置应在工作区选项中使用哪些任务标签:Java > Compiler > Task tags
For me, such tags are enabled by default. You can configure which task tags should be used in the workspace options: Java > Compiler > Task tags
检查它们是否在此位置启用,这足以让它们出现在任务列表(或标记视图)中.
Check if they are enabled in this location, and that should be enough to have them appear in the Task list (or the Markers view).
额外说明:如果您在同一个工作区工作,则大多数时候重新安装 Eclipse 不会改变任何东西.Eclipse 使用的大多数设置都存储在工作区文件夹中的 .metadata 文件夹中.
Extra note: reinstalling Eclipse won't change anything most of the time if you work on the same workspace. Most settings used by Eclipse are stored in the .metadata folder, in your workspace folder.
这篇关于如何在 Eclipse 中启用 TODO/FIXME/XXX 任务标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Eclipse 中启用 TODO/FIXME/XXX 任务标签?
基础教程推荐
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 降序排序:Java Map 2022-01-01