Could you tell me how to link the doxygen documentation with a Java project inside Eclipse?
Here is the background: I am involved in a C++ project, which has a Java Interface. Its document seems to be generated by doxygen rather than javadoc. I hope to use this documentation inside Eclipse, but I don't see how to. I have installed the doxygen plugin Eclox but apparently I don't see what to do next.
For information, here is the a part of my project's ./doc directory./doc
Related
I give a computer programming course I have written, and I recently switched to recommending Visual Studio Code in the course. We are starting out with the basics, so I just wanted a simple editor. We started learning Git, and one student's repository suddenly had all sorts of cruft in it, including:
.settings/
.vscode/
.classpath
.project
In particular the .settings directory had all sorts of Eclipse settings, such as I would expect to see in an Eclipse project.
The student explained to me that these came from VS Code after installing its Java extensions. But why are the VS Code Java extensions creating Eclipse files? And where is all this documented, so that I can update my lessons with the exact details and avoid this problem in the future?
Thanks in advance.
Simplified the Language Support for Java™ by Red Hat is the headless Eclipse Java IDE integrated into Visual Studio Code via the Language Server Protocol (LSP). See the self-description of the extension:
Provides Java™ language support via Eclipse JDT Language Server, which
utilizes Eclipse JDT, M2Eclipse and Buildship.
Except for .vscode/, the mentioned files are Eclipse Java IDE files.
Because in Eclipse these files are not intended to be edited manually, there is little or no documentation about them (the Java compiler settings in .settings/org.eclipse.jdt.core.prefs are similar to the command line arguments of the Eclipse batch compiler).
For example, the documentation of the Java extension recommends using the Eclipse Java IDE to edit the formatter settings (which are also stored in .settings/org.eclipse.jdt.core.prefs) and concludes:
No it's not an ideal solution, but it should be done only once, unless
you regularly change your formatter settings.
How can I attach the openCV API docs to my project? Currently when I hover over a specific openCV method I do not see any docs, and I have to refer to the docs website every time I need get familiar with any method.
Note: I am using openCV 2.4.11 in eclipse
As there is no offical Maven repository for OpenCV and the project does not provide a javadoc JAR file. The only possible solution seems to be
download the source repository
build the javadoc JAR yourself (see: http://code.opencv.org/issues/1847)
I am using Netbeans 8.0.2 for java, while the auto-complete option is on and running it looks like not enough documentions is available or JavaDoc is missing, the message from Netbeans auto-complete says:
Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager.
When referring to Netbeans help on this everything seems in order.
So what is missing in Netbeans java documentation, or can it be extended?
I've been looking into scala lately and from the conciseness and language features I'm completely thrilled.
I have netbeans 8.0 running on ubuntu 12.04 and downloaded scala, edited netbeans.conf (netbeans_default_options="-J-Dscala.home=...), installed plugins from plugin manager inside netbeans (ALL OF THEM). Then, I created scala project (not maven one) and tried out autocomplete. It works, compiles, runs, however, it shows no document found in autocompletion.
This is how I added javadocs Tools > Scala platforms > javadoc tab
I tried adding following ways:
added the entire scala api doc zip from http://downloads.typesafe.com/scala/2.11.2/scala-docs-2.11.2.zip
extracted the previous zip to scala-home folder under $SCALA_HOME/docs/javadocs/scala-docs-2.11.2 and added that
same as 2 but added $SCALA_HOME/docs/javadocs/scala-docs-2.11.2/api in netbeans
None of these pick up documentation! Of course, I could live without it, but it's such a killer for such a concise language where I could just find out stuff instantly from autocompletion. Also, I don't want to use eclipse special ide for scala because I don't want to throw out all the experience with netbeans out of the window and learn new IDE.
P.S. - Netbeans navigator also seem not to work in scala.
And I wonder why there's so little content on google for such a wonderful language?
There is no need to change to IntelliJ. Use the right build tool -sbt or Maven- and everything works fine.
In Netbeans you can use e.g. free Application Servers.
Netbeans support for scala seems pathetic so I just decided to jump to IntelliJ IDEA. It was little bit of learning curve but I'm glad I did because now everything was working (autocomplete, documentation, awesome SBT support etc. etc.)
I've decided that as a pet project meant for learning, I would create a new Eclipse plug-in that, for a given class, takes all private member names and adds a prefix to their name (it doesn't matter to me if it can already be done or not, this is meant to be a learning experience).
I have never developed an Eclipse plug-in and I'm not sure where to begin. Do I need to install some application for this development? How does it work? Where do I begin?
I did a Google search but all the tutorials and results I found were old and referred to antiquated versions of Eclipse, so I'm not sure if they're still accurate.
The Vogella's Eclipse RCP tutorial is quite up-to-date (eclipse3.5), but for RCP (Rich Client Platform).
It comes with an equally up-to-date Plugin Development tutorial.
(source: vogella.de)
Follow that last tutorial and you will have a real good introduction in this Eclipse Plugin development topic.
Note: for AST-related plugins (Abstract Syntax Tree), the resources are older but still accurate:
See Extract all string from a java project.
I would recommend to start with an plugin example included in the Plug-in Development Environment (PDE) some of the distributions contain it, so look for PDE.
Since eclipse plugins are OSGi bundles it might take some time if you're not yet familiar with them, but it is worth.
For details check the following documenations
Platform Plug-in Developer Guide
JDT Plug-in Developer Guide
JDT Plug-in Developer Guide 3.1 as PDF