Extension point for providing custom content assis

2019-04-24 14:02发布

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.

7条回答
混吃等死
2楼-- · 2019-04-24 14:45

See this: http://www.vogella.de/articles/RichClientPlatform/article.html#fieldassist

This is not extension based solution, but may still benefit you.

查看更多
登录 后发表回答