François Pinard's site

Eclipse Main menu


1   File

  • → New [Alt+Shift+N]
    • → Project
      • → Java
        • → Java Project
        • → JUnit
          • → JUnit Test Suite
    • → 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
      • → Java
        • → Java Run/Debug
          • → Scrapbook Page
  • → Save [Ctrl+S]
  • → Import
    • → General
      • → Existing Projects into Workspace
        • → Select Archive File
      • → Preferences
  • → Export
    • → General
      • → Preferences
    • → Java
      • → JAR File

2   Edit

  • → Undo [Ctrl+Z]
  • → Cut [Ctrl+X]
  • → Copy [Ctrl+C]
  • → Paste [Ctrl+V]
  • → Add Bookmark…
  • → Quick Fix [Ctrl+1]

3   Source

  • → Generate Getters and Setters

4   Refactor

  • → Extract Method
  • → Convert Local Variable to Field
  • → Inline…

5   Navigate

  • → Open Declaration [F3]
  • → Open Type Hierarchy [F4]
  • → Back [Alt+Left]
  • → Forward [Alt+Right]

6   Project

  • → 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

7   Run

  • → 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…

8   Window

  • → New Window
  • → Open Perspective
    • → Java
    • → Debug
    • → Java Browser
  • + → Show View
    • → Display
    • → Expressions
    • → Package Explorer
    • → Tasks
    • → Other…
      • → General
        • → Bookmarks
        • → Search
      • → Team
        • → History
  • → 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
        • → Color and Fonts
          • → Java
            • → Java Editor Textfonts
      • → Editors
        • → Text Editors
          • → Show line numbers
      • → Keys
      • → Perspectives
        • Useful for deleting them, once closed
      • → Workspace
        • → Local History
    • → Java
      • → Compiler
        • May change Compiler compliance level here
        • → Errors/Warnings
      • → Debug
      • → Installed JREs
    • → Web and XML
      • → XML Files
        • → Source

9   Help

  • → Welcome
  • → Help Contents
  • → Cheat Sheets…