Eclipse 插件 - 在 pydev-editor 中实现自己的内容助手

发布于 2025-01-16 06:33:24 字数 467 浏览 2 评论 0原文

我正在尝试在 pydev-editor 中实现 Eclipse 插件 - Content Assistant。 使用 pydev-editor 打开 python 文件,当我输入特定字符时,例如“MY_Defined_Data(”,那么我想在其中显示一些值列表。

我尝试使用 org.eclipse.ui.editor、org.eclipse.ui.genericeditor .contentAssistProcessors.... 但是当它用通用编辑器打开时这是可能的。 设置如下,选择文件扩展名为“py”。 插件模板 File_exetension

有什么方法可以实现这个吗?

谢谢。

I am trying to implement Eclipse plugin - Content Assistant in pydev-editor.
Opening python file with pydev-editor, and when i type specific character, for example "MY_Defined_Data(" then i want to show some value list in there.

I tried with org.eclipse.ui.editor, org.eclipse.ui.genericeditor.contentAssistProcessors....
But this is possible when it opens with Generic Editor..
Setting as follows, and choose file extension as "py".
Plugin template
File_exetension

Is there any ways to implement this?

Thanks.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文