Source Commands

Add Block Comment [Ctrl+Shift+/]

Source → Add Block Comment

Add Constructors from Superclass [No key binding]

Source → Add Constructors from Superclass…

Add Import [Ctrl+Shift+M]

Source → Add Import

Add Javadoc Comment [Alt+Shift+J]

Source → Add Comment

Comment [No key binding]

(No menu)

Externalize Strings [No key binding]

Source → Externalize Strings…

Find Strings to Externalize [No key binding]

Source → Find Strings to Externalize…

Format [Ctrl+Shift+F]

Source → Format

Format Element [No key binding]

Source → Format Element

Generate Constructor using Fields [No key binding]

Source → Generate Constructor using Fields…

Generate Delegate Methods [No key binding]

Source → Generate Delegate Methods…

Generate Getters and Setters [No key binding]

Source → Generate Getters and Setters…

Indent Line [Ctrl+I]

Source → Correct Indentation

Organize Imports [Ctrl+Shift+O]

Source → Organize Imports

Override/Implement Methods [No key binding]

Source → Override/Implement Methods…

Quick Assist - Assign parameter to field [No key binding]

(No menu)

Quick Assist - Assign to field [Ctrl+2, F]

(No menu)

Quick Assist - Assign to local variable [Ctrl+2, L]

(No menu)

Quick Assist - Rename in file [Ctrl+2, R]

(No menu)

Quick Assist - Replace statement with block [No key binding]

(No menu)

Quick Fix - Add cast [No key binding]

(No menu)

Quick Fix - Add import [No key binding]

(No menu)

Quick Fix - Add non-NLS tag [No key binding]

(No menu)

Quick Fix - Add throws declaration [No key binding] ...

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.