在Eclipse中提供自定义内容辅助处理器的扩展点 [英] Extension point for providing custom content assist processors in Eclipse
问题描述
例如,当我在我的一个属性文件中的财产 hello = world
时,我开始输入格式(hel/ code>和现在点击 CTRL + SPACE ,我想看到可用的
hello
属性。
我的问题是我找不到正确的扩展点来提供自定义内容辅助处理器。我如何为文本文件提供我自己的内容辅助处理器?我想让它主要在Java, JSP和XML文件。
之前我已经找到了这样一个扩展点,没有成功,据我所知不可能以这种方式在Eclipse中添加新的类型的内容来帮助编辑器。
I am writing eclipse plugin to add better support for properties files. One of the missing piece is content-assist ... I'd like to show matching properties keys when user starts typing some string and presses content assist key.
For example, when I have property hello = world
in one of my properties files, and I start typing format("hel
and hit CTRL+SPACE now, I'd like to see available hello
property.
My problem is that I cannot find correct extension point to provide custom content assist processor. How can I provide my own content assist processor for text files? I'd like to make it work mainly in Java, JSP and XML files.
I've looked for such an extension point before with no success. As far as I know it's not possible to add new types of content assist to editors in Eclipse in this way.
这篇关于在Eclipse中提供自定义内容辅助处理器的扩展点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!