JDK help documentation in eclipse

Source: Internet
Author: User

When I first started using eclipse, I don't know how to use JDK help documentation in eclipse and how to set

I finally got it done in the past few days. Now, Let's sum up,
  
Hope to help you.

I am afraid it is the simplest plug-in:

 

1. Create a directory: bdsc.java.doc

2 plugin. xml:

<?xml  version="1.0"  encoding="UTF-8"?>  
<plugin    id="bdsc.java.doc"  
     name="bdsc.java.doc"  
     version="0.0.1"  
     provider-name="bdsc">  

     <extension  point="org.eclipse.help.toc">  
           <toc  file="toc.xml"  primary="true"/>  
     </extension>  

</plugin>  










3 toc. xml: (you need to change the Java Doc path)
<?xml  version="1.0"  encoding="UTF-8"?>  
<?NLS  TYPE="org.eclipse.help.toc"?>  

<toc  label="java  doc"  topic="index.Html">  
               <topic  label="index.html"  href="file:/C:/j2sdk1.4.2_docs/api/index.html"  />  
</toc>  



4. Copy the directory to eclipse's plugins.


5. Use help => help Contents


Successful!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.