Eclipse帮助文档配置
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.
- From the menu, select Window » Preferences to load the Preferences dialog box.
- From the sidepane, select Java » Installed JREs.
- From the listed JREs, select the name of the current JRE and click the Edit button to launch the Edit JRE dialog box.
- In this dialog box, select all the listed "JRE system libraries" and click the Javadoc Location button to launch a Javadoc For … dialog.

- 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
andpackage-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.
- Right-click the jar in Project Explorer and select Properties.
- On the sidepane of the Properties for … dialog box, select the Javadoc Location property.
- 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. - Click OK to close the dialog.
Finally, help is at hand. ☺ Smiles everywhere.

Eclipse帮助文档配置的更多相关文章
- Tsung MQTT协议简介及MQTT xml文档配置介绍
MQTT协议简介及MQTT xml文档配置介绍 by:授客 QQ:1033553122 1. MQTT协议介绍 MQTT(Message Queuing Telemetry Transport,消息队 ...
- Python(文件、文件夹压缩处理模块,shelve持久化模块,xml处理模块、ConfigParser文档配置模块、hashlib加密模块,subprocess系统交互模块 log模块)
OS模块 提供对操作系统进行调用的接口 os.getcwd() 获取当前工作目录,即当前python脚本工作的目录路径 os.chdir("dirname") 改变当前脚本工作目 ...
- PCB DotNetCore Swagger生成WebAPI文档配置方法
在.net framework框架下可以使用WebApiTestClientWebApi生成WebAPI接口文档与方便接口测试用,而在DotnetCore却没有找到这个工具了,baidu查找一下发现有 ...
- mzy git学习,git协同开发忽略文档配置以及一些杂点(九)
回忆一个电脑多账户问题 之前也说了,如果使用ssh登陆的话,一个电脑就只能登陆一个账号了,不像通过凭据可以切换(但是其实也可以每次去生成新的公钥和私钥,只要你不嫌麻烦) 再次补充: ssh-keyge ...
- FastAPI 学习之路(二十)接口文档配置相关
系列文章: FastAPI 学习之路(一)fastapi--高性能web开发框架 FastAPI 学习之路(二) FastAPI 学习之路(三) FastAPI 学习之路(四) FastAPI 学习之 ...
- C# HelpPage 接口文档配置
1.打开项目路径如下的类文件: 1.1.找类方法 Register 下的 config.SetDocumentationProvider 并取消注释,修改 ~/App_Data/XmlDocument ...
- eclipse 自定义 文档
在这里写....
- S5700&S5710 产品文档 : 配置
http://support.huawei.com/hdx/hdx.do?docid=SC0000699332&lang=zh&path=PBI1-C103367%2FPBI1-C10 ...
- Doxygen自动文档生成工具在Eclipse中的集成及使用举例
你有为软件编写说明文档的苦恼吗?当别人甩给你一个庞大的系统,让你根据里面的代码注释理解后写出一份完整的开发文档,你会怎么办?一个个的看代码 然后耗时N天来写吗?这既是一份苦差事也极其耗时,有没有更好的 ...
随机推荐
- Sql server与Excel的数据互通导入导出
现在,我先从Sql server数据表导出到Excel中,再从Excel数据表导出到Sql server中: 一.Sql server数据表导出到Excel中: 1.新建一个Excel,选择“数据”菜 ...
- 将Excel导入SQL Server 只能导入数字,其他数据变为NULL怎么解决?
先新建一个TXT文件,把数据粘贴进去 再新建一个Excel文件,在菜单栏中选Data再选From Text 找到txt文件,点import 一定要选Text 点Finish,点OK. 接下来在往数据库 ...
- web系统权限设计
应该有七张表 1.appSystem 表: 主要在多系统中的 统一权限管理:主要就是系统的URL USE [Star_Permission] GO /****** 对象: Table [dbo].[A ...
- 使用Aspose.Cell控件实现Excel高难度报表的生成(二)
继续在上篇<使用Aspose.Cell控件实现Excel高难度报表的生成(一)>随笔基础上,研究探讨基于模板的Aspose.cell报表实现,其中提到了下面两种报表的界面,如下所示: 或者 ...
- 苹果公司给出的检测 advertisingIdentifier 的方法
To locate the reference to the advertisingIdentifier selector, please perform these steps to create ...
- 第十三篇 Integration Services:SSIS变量
本篇文章是Integration Services系列的第十三篇,详细内容请参考原文. 简介在前一篇我们结合了之前所学的冒泡.日志记录.父子模式创建一个自定义的SSIS包日志记录模式.在这一篇,我们将 ...
- Winforms-GePlugin-Control-library
Winforms-GePlugin-Control-library http://download.csdn.net/download/xm379303813/4247029
- extern "C" 和 DEF 文件.
参考: http://www.cnblogs.com/whiteyun/archive/2011/07/22/2113560.html 问题: 如果用了 DEF 文件来导出 DLL 的函数, 还需要在 ...
- iOS 快递查询
#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @pr ...
- HTML是什么
HTML(Hyper Text Mark-up Language )即超文本标记语言,是 WWW 的描述语言,由 Tim Berners-lee提出.设计 HTML 语言的目的是为了能把存放在一台电脑 ...