Eclipse Tips"
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKStudioEssentialsPageHeader}} | {{ZKStudioEssentialsPageHeader}} | ||
− | |||
− | |||
− | |||
− | |||
− | == Add Source Code and Javadoc Resource to JAR File | + | |
− | + | = Configure Keyboard Shortcuts = | |
− | You can attach a source archive (another JAR file which include the source code) or source folder to | + | 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 [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 = | ||
+ | == 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: | please refer to Eclipse help: | ||
− | :[http://help.eclipse.org/ | + | :[http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/ref-properties-source-attachment.htm 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. | 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: | Please refer to Eclipse help: | ||
− | :[http://help.eclipse.org/ | + | :[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
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:
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: