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天来写吗?这既是一份苦差事也极其耗时,有没有更好的 ...
随机推荐
- A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list.
图解: 此题过程分为三个阶段,分别是 1.负责后面一个节点,并且将这个节点插入到原来链表中 2.复制后面一个节点的random指针. 3 拆分组合链表为两部分. 第一部分代码: while(curr ...
- Python开发【第二章】:Python的数据类型
基本数据类型 一.整型 如: 18.73.84 整型具备如下功能: class int(object): """ int(x=0) -> int or long i ...
- opencv hog+svm行人检测
http://blog.csdn.net/masibuaa/article/details/16105073 http://blog.csdn.net/u011263315/article/detai ...
- shell脚本编程-使用结构化命令(if/else)(转)
11.1 使用if-then语句 格式如下 if语句会执行if行定义的那个命令,如果该命令的退出状态码是0,则then部分的语句就会执行,其他值,则不会 1 2 3 4 if command th ...
- Inside Flask - flask.__init__.py 和核心组件
Inside Flask - flask.__init__.py 和核心组件 简单的示例 首先看看一个简单的示例.使用 Flask ,通常是从 flask 模块导入 Flask . request 等 ...
- 淘宝杨志丰:OceanBase--淘宝结构化大数据解决之道
时至今日,“Big data”(大数据)时代的来临已经毋庸置疑,尤其是在电信.金融等行业,几乎已经到了“数据就是业务本身”的地步.这种趋势已经让很多相信数据之力量的企业做出改变.恰逢此时,为了让更多的 ...
- 随机数产生random
随机数产生推荐用random(),在产生随机数前要添加种子srandom((unsigned int)time(NULL)). SYNOPSIS #include <stdlib.h> l ...
- iOS 图片循环滚动(切片效果)
#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIAp ...
- 数据库hang住如何收集信息
数据库hang的时候,建议尽量收集以下信息: 1.hanganalyze和systemstate dumps 2.AWR报告 3.最近的RDA 如果是CDB环境,要确认是CDB级别的hang还是PDB ...
- Java基础之访问文件与目录——获取与文件存储有关的信息(GetFileStores)
控制台程序,列出存储在系统中的文件的详细信息 import java.nio.file.FileStore; import java.nio.file.FileSystems; import java ...