Eclipse Main
menu
- → New [Alt+Shift+N]
- → Project
- → Package
- → Class
- → Source Folder
- → Untitled Text File
- → JUnit Test Case
- Suffix tested class name with Test. For JUnit 3, prefix
tested method name with test. For JUnit 4, use
@Test annotation over
unmodified tested method name.
- → Other
- → Save [Ctrl+S]
- → Import
- → General
- → Existing Projects into Workspace
- → Preferences
- → Export
- → Undo [Ctrl+Z]
- → Cut [Ctrl+X]
- → Copy [Ctrl+C]
- → Paste [Ctrl+V]
- → Add Bookmark…
- → Quick Fix [Ctrl+1]
- → Generate Getters and Setters
- → Extract Method
- → Convert Local Variable to Field
- → Inline…
- → Open Declaration [F3]
- → Open Type Hierarchy [F4]
- → Back [Alt+Left]
- → Forward [Alt+Right]
- → Properties
- → Java Build Path
- → Libraries
- → Add External JARs…
- → Add Library…
- → Edit
- Useful to attach src.zip,
after having selected JRE System
Library → rt.jar → Source
attachment.
- → Remove
- → Step Into [F5]
- → Step Over [F6]
- → Step Return [F7]
- → Run to Line [Ctrl+R]
- → Run As
- → Java Application
- → JUnit Test
- → Open Run Dialog…
- → Debug As
- → Java Application
- → JUnit Test [Alt+Shift+D, T]
- → Open Debug Dialog…
- → Inspect (else: click on magnifying glass)
- after mouse select 【Statement;】☼
Expression
- → Add Java Exception Breakpoint…
- → New Window
- → Open Perspective
- → Java
- → Debug
- → Java Browser
- + → Show View
- → Display
- → Expressions
- → Package Explorer
- → Tasks
- → Other…
- → Customize Perspective…
- → Save Perspective As…
- → Reset Perspective
- → Close Perspective
- → Navigation
- → Quick Access [Ctrl+3]
- → M{in,ax}imize Active View or Editor
[Ctrl+M]
- → Preferences
- → General
- May select Double click or Single click
here
- → Appearance
- → Editors
- → Keys
- → Perspectives
- Useful for deleting them, once
closed
- → Workspace
- → Java
- → Compiler
- May change Compiler compliance
level here
- → Errors/Warnings
- → Debug
- → Installed JREs
- → Web and XML
- → Welcome
- → Help Contents
- → Cheat Sheets…
|
|