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.htmlandpackage-listfiles (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学习笔记 SQL ORDER BY 关键字
SELECT column_name,column_nameFROM table_nameORDER BY column_name,column_name ASC|DESC; SELECT id, n ...
- Java学习-016-CSV 文件读取实例源代码
上文(CSV文件写入)讲述了日常自动化测试过程中将测试数据写入 CSV 文件的源码,此文主要讲述如何从 CSV 文件获取测试过程中所需的参数化数据.敬请各位小主参阅,若有不足之处,敬请大神指正,不胜感 ...
- imx6 system boot
imx6开机启动就进入download模式,有的板子进入文件系统之后会进入download模式.查看datasheet,Chapter 8 System Boot查找原因,记录于此. freescal ...
- Ext.widget()作用是使用别名创建对象。
Ext.widget()作用是使用别名创建对象.使用已经的定义的组件的别名创建这个对象
- jq的选项卡tab
jq中选项卡很简单,的注意是他结构命名(网上有很多,其中不乏不规范) 1.tab 2.tab-hd (选项栏) 3.tab-bd(选项栏对应的内容) css代码(布局没问题,可以只看jquery代码) ...
- SpringMVC 工作原理
上面的是springMVC的工作原理图: 1.客户端发出一个http请求给web服务器,web服务器对http请求进行解析,如果匹配DispatcherServlet的请求映射路径(在web.xml中 ...
- [Machine Learning]k-NN
k-NN最近邻算法 基本思想: 对未知样本X,从训练样本集中获取与其最相近的k个样本,利用这k个样本的类别预测未知样本X的类别. 如果一个样本在特征空间中的k个最相似(即特征空间中最邻近)的样本中的大 ...
- JavaScript学习笔记之BOM
BOM的核心对象是window,它既表示浏览器窗口以及页面可见区域,同时也是ECMAScript中的Globe对象,所有的全局变量和函数都是它的属性,并且所有的原声函数以及其他函数也都存在于它的命名空 ...
- 转:DLL教程
首先:DLL技术是针对C的技术,虽然也支持C++,但是对C++的支持不够好.C++对应的是COM技术. 建议首先看一下Programming Windows的21章,虽然没有讲MFC如何制作DLL, ...
- Java基础之创建窗口——颜色和光标(TryWindow4)
控制台程序. java.awt包中把SystemColor类定义为Color类的子类.SystemColor类封装了本机操作系统用于显示各种组件的标准颜色.如果要比较SystemColor值和Colo ...