Search in Eclipse Help for RCP returns no results

人走茶凉 提交于 2021-02-07 21:56:34

问题


I have an RCP application with help enabled on the menus. I am able to successfully bring up the help that I created. However when I type in a search term there are no results returned.

What is required to enable searching my help contents from the Eclipse help engine?


回答1:


The resolution was to update the version number of the plugin with the help content to rebuild the index. I was relying on the .qualifier but that is not sufficient to trigger the index being rebuilt. Once the version was updated all new content was returned on searches.




回答2:


You can check if the issue persists with a small RCP example, like described in this Vogel's tutorial

help page

The required plugins are:

  • org.eclipse.help.ui
  • org.eclipse.help.webapp
  • org.eclipse.equinox.http.jetty

Make sure your help content is well-formed (not like in bug 324854), and that there is no external interaction (like a firewall/anti-virus) with the webapp which will query for you the result of an Help search.



来源:https://stackoverflow.com/questions/12024834/search-in-eclipse-help-for-rcp-returns-no-results

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!