Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JDT/FAQ"

< JDT
Line 24: Line 24:
  
 
=== Can I enable code completion to be activated as I type like how it works in Visual Studio? ===
 
=== Can I enable code completion to be activated as I type like how it works in Visual Studio? ===
Go to  Preferences > Java > Editor > Content Assist and paste "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz." into the "Auto activation triggers for Java:" field.
+
Go to  Preferences > Java > Editor > Content Assist and paste "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz." (note the dot after z) into the "Auto activation triggers for Java:" field.
  
 
== JDT Extenders ==
 
== JDT Extenders ==

Revision as of 14:23, 8 October 2011

Frequently Asked Questions for JDT.

JDT Users

Other FAQ collections

You may find your answer in one the following FAQ collection

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

The navigation bar is called the 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.

How can I disable auto-indentation in the Java editor?

You can disable smart insert mode (Edit > Smart Insert Mode), alternatively you can also configure the Smart Insert Mode (Windows > Preferences > Java > Editor > Typing).

Can I enable code completion to be activated as I type like how it works in Visual Studio?

Go to Preferences > Java > Editor > Content Assist and paste "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz." (note the dot after z) into the "Auto activation triggers for Java:" field.

JDT Extenders

Other FAQ collection

You may find your answer in the Java Development Tool API section of 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

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!

Back to the top