Eclipse Tips"

From Documentation
 
Line 1: Line 1:
 
{{ZKStudioEssentialsPageHeader}}
 
{{ZKStudioEssentialsPageHeader}}
 +
 +
 +
  
 
= Configure Keyboard Shortcuts =
 
= Configure Keyboard Shortcuts =
Line 6: Line 9:
 
You can refer to the [http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.user/concepts/accessibility/keyboardshortcuts.htm "''Customizing Key bindings''" section of Eclipse official help].
 
You can refer to the [http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.user/concepts/accessibility/keyboardshortcuts.htm "''Customizing Key bindings''" section of Eclipse official help].
  
== Add Source Code and Javadoc Resource to JAR File ==
+
= Add Source Code and Javadoc Resource to JAR File =
=== Set Source for JAR File ===
+
== Set Source for JAR File ==
You can attach a source archive (another JAR file which include the source code) or source folder to this library. Eclipse will then use this resource to show the source instead of a the decompiled code. Setting the source attachment also allows source level stepping with the debugger.
+
You can attach a source archive (another JAR file which include the source code) or source folder to a library. Eclipse will then use this resource to show the source instead of a the decompiled code. Setting the source attachment also allows source level stepping with the debugger.
  
 
please refer to Eclipse help:
 
please refer to Eclipse help:
Line 16: Line 19:
 
The source JAR files of ZK Package is under the dist/src folder in the already extracted ZK package.
 
The source JAR files of ZK Package is under the dist/src folder in the already extracted ZK package.
  
=== Set Javadoc for JAR File ===
+
== Set Javadoc for JAR File ==
 
Please refer to Eclipse help:
 
Please refer to Eclipse help:
  
 
:[http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-dialog-javadoc-location.htm http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-dialog-javadoc-location.htm]
 
:[http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-dialog-javadoc-location.htm http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-dialog-javadoc-location.htm]
 +
 +
 +
  
 
{{ZKStudioEssentialsPageFooter}}
 
{{ZKStudioEssentialsPageFooter}}

Latest revision as of 07:02, 27 March 2013

Eclipse Tips





Configure Keyboard Shortcuts

Many keyboard shortcuts are configurable via Preference window (click [Windows]/[Preferences] in Eclipse main menu); the preference page to configure keyboard shortcuts (or so called "hotkey") is located in General/Keys preference page.

You can refer to the "Customizing Key bindings" section of Eclipse official help.

Add Source Code and Javadoc Resource to JAR File

Set Source for JAR File

You can attach a source archive (another JAR file which include the source code) or source folder to a library. Eclipse will then use this resource to show the source instead of a the decompiled code. Setting the source attachment also allows source level stepping with the debugger.

please refer to Eclipse help:

http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-properties-source-attachment.htm

The source JAR files of ZK Package is under the dist/src folder in the already extracted ZK package.

Set Javadoc for JAR File

Please refer to Eclipse help:

http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-dialog-javadoc-location.htm




Last Update : 2013/03/27

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.