Jump to: navigation, search

Difference between revisions of "JDT/FAQ"

< JDT
Line 13: Line 13:
 
=== How to disable the navigation bar or the mini package explorer located above the Java Editor? ===
 
=== How to disable the navigation bar or the mini package explorer located above the Java Editor? ===
 
The navigation bar is called '''Breadcrumb''', to disable the breadcrumb invoke Toggle Java Editor Breadcrumb in the toolbar or press Alt+Shift+B in the Java editor. More details on the Java editor breadcrumb can be found in [http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-java-editor-breadcrumb.htm Eclipse help].
 
The navigation bar is called '''Breadcrumb''', to disable the breadcrumb invoke Toggle Java Editor Breadcrumb in the toolbar or press Alt+Shift+B in the Java editor. More details on the Java editor breadcrumb can be found in [http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-java-editor-breadcrumb.htm Eclipse help].
 +
 +
=== Can I use JDT outside Eclipse to compile Java code? ===
 +
Yes, the batch compiler can be invoked from command line or via the ant javac adapter. More details can be found in [http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm | Java development user guide].
  
 
== JDT Extenders ==
 
== JDT Extenders ==
  
 
* [[The_Official_Eclipse_FAQs#Java_Development_Tool_API | Java Development Tool API]] - The Official Eclipse FAQs
 
* [[The_Official_Eclipse_FAQs#Java_Development_Tool_API | Java Development Tool API]] - The Official Eclipse FAQs
 +
 +
=== Can I use JDT outside Eclipse to manipulate Java code? ===
 +
JDT Core has no dependency on UI side, however it requires a runtime-workbench. Hence you can use it in an Eclipse headless application or include all the dependent jar files in the class path of your application. (You will have to use ASTParser.setSource() and ASTParser.setEnvironment() to be able to parse non Eclipse Java projects.)
  
 
== If your question is not answered above ==
 
== If your question is not answered above ==

Revision as of 12:25, 8 October 2011

Frequently Asked Questions for JDT.

JDT Users

How to disable the navigation bar or the mini package explorer located above the Java Editor?

The navigation bar is called Breadcrumb, to disable the breadcrumb invoke Toggle Java Editor Breadcrumb in the toolbar or press Alt+Shift+B in the Java editor. More details on the Java editor breadcrumb can be found in Eclipse help.

Can I use JDT outside Eclipse to compile Java code?

Yes, the batch compiler can be invoked from command line or via the ant javac adapter. More details can be found in | Java development user guide.

JDT Extenders

Can I use JDT outside Eclipse to manipulate Java code?

JDT Core has no dependency on UI side, however it requires a runtime-workbench. Hence you can use it in an Eclipse headless application or include all the dependent jar files in the class path of your application. (You will have to use ASTParser.setSource() and ASTParser.setEnvironment() to be able to parse non Eclipse Java projects.)

If your question is not answered above

Consider browsing through the frequently asked questions on Stackoverflow

Ask a question on the Official JDT forum, however search for topics that might be related before asking!