Force Eclipse To Use Local Javadocs For Context-Sensitive Help

转自:http://www.gnostice.com/nl_article.asp?id=209&t=Force_Eclipse_To_Use_Local_Javadocs_For_Context_Sensitive_Help
Set up local Javadocs for JRE and external JAR components.
By V. Subhash

I dug the depths of the Internet to find this tip. It surely was worth the effort.

The Eclipse IDE provides context-sensitive help if you hover the mouse pointer over keywords. Usually, the help content is downloaded on demand from the Net. If you are offline, the help will look something like this.

It need not be like this. Eclipse can use a local copy of the help. (Download Java SE 6 Documentation from Oracle.com). The download is a zip file. You can use it as it is or can extract it to some folder.

Context-Sensitive Help For Java API Docs

The difficulty is not in making Eclipse use the local help. It is difficult doing it right. Like this.

    1. From the menu, select Window » Preferences to load the Preferences dialog box.
    2. From the sidepane, select Java » Installed JREs.
    3. From the listed JREs, select the name of the current JRE and click the Edit button to launch the Edit JRE dialog box.
    4. In this dialog box, select all the listed "JRE system libraries" and click the Javadoc Location button to launch a Javadoc For … dialog.
  1. In the Javadoc For … dialog, specify the location of the API docs. You could select the API zip file or the folder containing the index.html and package-list files (in the folder where you extracted the API docs zip file).

After that, the help will be loaded from the local copy. Next, let us make context-sensitive help work for third-party components.

Context-Sensitive Help For Third-Party Java Components

The third-party Java components that we like around here at Gnostice is PDFOne (for Java™). To make Eclipse use the help that we ship with the product, try these steps.

  1. Right-click the jar in Project Explorer and select Properties.
  2. On the sidepane of the Properties for … dialog box, select the Javadoc Location property.
  3. On the right, select the Javadoc URL option and specify the location where the PDFOne API docs are available. If you click the Browse button and select the directory, Eclipse will re-format the pathname to support the file:// protocol.
  4. Click OK to close the dialog.

Finally, help is at hand. Smiles everywhere.

Eclipse帮助文档配置的更多相关文章

  1. Tsung MQTT协议简介及MQTT xml文档配置介绍

    MQTT协议简介及MQTT xml文档配置介绍 by:授客 QQ:1033553122 1. MQTT协议介绍 MQTT(Message Queuing Telemetry Transport,消息队 ...

  2. Python(文件、文件夹压缩处理模块,shelve持久化模块,xml处理模块、ConfigParser文档配置模块、hashlib加密模块,subprocess系统交互模块 log模块)

    OS模块 提供对操作系统进行调用的接口 os.getcwd() 获取当前工作目录,即当前python脚本工作的目录路径 os.chdir("dirname")  改变当前脚本工作目 ...

  3. PCB DotNetCore Swagger生成WebAPI文档配置方法

    在.net framework框架下可以使用WebApiTestClientWebApi生成WebAPI接口文档与方便接口测试用,而在DotnetCore却没有找到这个工具了,baidu查找一下发现有 ...

  4. mzy git学习,git协同开发忽略文档配置以及一些杂点(九)

    回忆一个电脑多账户问题 之前也说了,如果使用ssh登陆的话,一个电脑就只能登陆一个账号了,不像通过凭据可以切换(但是其实也可以每次去生成新的公钥和私钥,只要你不嫌麻烦) 再次补充: ssh-keyge ...

  5. FastAPI 学习之路(二十)接口文档配置相关

    系列文章: FastAPI 学习之路(一)fastapi--高性能web开发框架 FastAPI 学习之路(二) FastAPI 学习之路(三) FastAPI 学习之路(四) FastAPI 学习之 ...

  6. C# HelpPage 接口文档配置

    1.打开项目路径如下的类文件: 1.1.找类方法 Register 下的 config.SetDocumentationProvider 并取消注释,修改 ~/App_Data/XmlDocument ...

  7. eclipse 自定义 文档

    在这里写....

  8. S5700&S5710 产品文档 : 配置

    http://support.huawei.com/hdx/hdx.do?docid=SC0000699332&lang=zh&path=PBI1-C103367%2FPBI1-C10 ...

  9. Doxygen自动文档生成工具在Eclipse中的集成及使用举例

    你有为软件编写说明文档的苦恼吗?当别人甩给你一个庞大的系统,让你根据里面的代码注释理解后写出一份完整的开发文档,你会怎么办?一个个的看代码 然后耗时N天来写吗?这既是一份苦差事也极其耗时,有没有更好的 ...

随机推荐

  1. HighCharts -教程+例子

    Highchart简介:   Highcharts是一款免费开源的纯javascript编写的图表库,能够很简单便捷的在Web网站或Web应用中添加交互性的图表,  Highcharts目前支持直线图 ...

  2. c#导出excel(转)

    C#导出Excel文件实例代码 2010-08-03 14:10:36|  分类: 软件编程 |  标签:excel  c#导出excel   |字号大中小 订阅 /// <summary> ...

  3. MSP430之ADC采集滤波

    占位符 /* 加权平均滤波 */ ] = {,,,,,,,,,,,,}; ++++++++++++; unsigned ; ; i<ADCN; i++) { temp += arr[i]*coe ...

  4. 系统UITabBar属性设置

    设置背景: [_tabBar setBackgroundImage:[UIImage imageNamed:@"bg_tabbar"]]; 设置某个Item选中的效果: _tabB ...

  5. 30天,O2O速成攻略【8.30南京站】

    活动概况 时间:2015年8月30日13:30-16:30 地点:啡咖啡·孵化器(南京市玄武大道699-22号江苏软件园22栋) 主办:APICloud.Udesk.人为峰 网址:www.apiclo ...

  6. PHP回调函数的几种用法

    PHP回调函数的实现方法 目录 前言      全局函数的回调      类静态函数的回调      对象的方法的回调      PHP事件模型(观察者模式)的实现思路    前言 最近在开发一个PH ...

  7. mysql centeros 安装

    http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html linux mysql允许远程连接 1.登录数据库:my ...

  8. windows下统计代码量

    windows 工具 1.exe程序 http://blog.csdn.net/hui1502/article/details/51191678 https://sourceforge.net/pro ...

  9. Canopy算法聚类

    Canopy一般用在Kmeans之前的粗聚类.考虑到Kmeans在使用上必须要确定K的大小,而往往数据集预先不能确定K的值大小的,这样如果 K取的不合理会带来K均值的误差很大(也就是说K均值对噪声的抗 ...

  10. Swift游戏实战-跑酷熊猫 01 创建工程导入素材

    在这节里,我们将建立一个游戏工程,并导入一些必要的素材,例如序列帧动画文件,声音素材文件.动画文件我们使用atlas形式.在打包发布或者模拟器测试的时候,它会将整个.atlas文件夹下的图片打包成一张 ...