![]() |
Integrate the API into Eclipse
I was wondering if there was any way to integrate the 2015 API into Eclipse similar to how it was in NetBeans. I enjoyed the convenience of having it built right into the IDE that way if I needed information on a class or how to use a particular method I could just click the First logo and jump into the API. I know in previous years that when you installed the plugins it also installed the API but I just finished setting up Eclipse and was disappointed to see that it wasn't there (but I was very happy to see some other things like RobotBuilder and SmartDashboard simulation built into the IDE). Is it possible to do it or will I just have to keep the API open in another window when programming?
|
Re: Integrate the API into Eclipse
Select what you want to know about, hover for documentation, right-click and Go To Declaration for source code. Doesn't get much easier than that.
|
Re: Integrate the API into Eclipse
Quote:
|
Re: Integrate the API into Eclipse
It does appear that they installed the javadocs in ~/wpilib, but it's not clear how the integration works.
|
Re: Integrate the API into Eclipse
Here's how to add the Javadoc for wpilib:
- Find wpilib under the project name in Project Explorer - Right click wpilib and select Properties - On the left click on Javadoc Location - On the right select the Javadoc URL radio button - Enter "file:/C:/Users/<user name>/wpilib/java/current/javadoc/" or use the browse button. (This is the Windows location) - Click OK and enjoy - Now if you hover the mouse over any of the wpilib classes or methods in the editor, the Javadoc will appear in a popup window. |
Re: Integrate the API into Eclipse
Not sure if this is what you're looking for, but you can browse all of the classes using Eclipse's Project Explorer, which is in the leftmost panel by default.
![]() |
Re: Integrate the API into Eclipse
If you want the full JavaDoc in a browser integrated in Eclipse (which is what NetBeans gave us) rather than the part of the JavaDoc relevant to a specific class:
Window > Show View > Other > Internal Web Browser This gives you a browser embedded in Eclipse. Then type the URL: <User Home>/wpilib/java/current/javadoc/index.html It looks like this. (I haven't updated from the beta to current yet so my URL is a tiny bit different in the screenshot than yours will be.) ![]() |
Re: Integrate the API into Eclipse
The JavaDoc has some incorrect documentation. Where can I submit a bug report?
|
Re: Integrate the API into Eclipse
Quote:
|
| All times are GMT -5. The time now is 16:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi