如何以编程方式添加 Eclipse 任务标签(Eclipse 插件开发)?

发布于 2024-08-20 09:09:13 字数 213 浏览 3 评论 0原文

我正在开发一个 Eclipse 插件。我想在插件中以编程方式添加自定义任务标签。 (让我们说 DOTHIS)稍后,我想在我的自定义任务视图中列出标有 DOTHIS 标记的行

我知道这是使用 Project > 中的 Eclipse UI 完成的属性> Java编译器>任务标签>新的。然后在任务视图中通过配置内容但是我如何在插件中进行这些安排?

提前致谢。

I am developing an Eclipse Plugin. I want to add my custom Task Tag programmatically within the plugin. (Lets say DOTHIS) Later, i want to list the lines marked with DOTHIS tag in my custom taskView

I know that it is done using the Eclipse UI from Project > Properties > Java Compiler > Task Tags > New. and then in the task view by Configure Contents but how can i do these arranegments within the plugin?

Thanks in advance.

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

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

发布评论

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

评论(1

策马西风 2024-08-27 09:09:13

从“org.eclipse.jdt.ui”UI 检查“org.eclipse.jdt.internal.ui.preferences.TodoTaskPreferencePage”和“org.eclipse.jdt.internal.ui.preferences.TodoTaskConfigurationBlock.updateModel(DialogField)”的代码插件。

Check code of 'org.eclipse.jdt.internal.ui.preferences.TodoTaskPreferencePage' and 'org.eclipse.jdt.internal.ui.preferences.TodoTaskConfigurationBlock.updateModel(DialogField) ' from 'org.eclipse.jdt.ui' UI plugin.

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