0% found this document useful (0 votes)
4 views2 pages

Eclipse Java Shortcuts-3

The document lists various Eclipse Java shortcuts categorized into Basic Editing, Code Formatting, Code Completion, Navigation, Debugging, Refactoring, and Comments. Each category contains specific keyboard shortcuts that enhance productivity while coding in Eclipse. These shortcuts include actions like saving files, formatting code, navigating through files, and debugging processes.

Uploaded by

sawantamruta39
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Eclipse Java Shortcuts-3

The document lists various Eclipse Java shortcuts categorized into Basic Editing, Code Formatting, Code Completion, Navigation, Debugging, Refactoring, and Comments. Each category contains specific keyboard shortcuts that enhance productivity while coding in Eclipse. These shortcuts include actions like saving files, formatting code, navigating through files, and debugging processes.

Uploaded by

sawantamruta39
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Eclipse Java Shortcuts

Basic Editing

1 Ctrl + S – Save file


2 Ctrl + Z / Ctrl + Y – Undo / Redo
3 Ctrl + X / Ctrl + C / Ctrl + V – Cut / Copy / Paste
4 Ctrl + A – Select all
5 Ctrl + D – Delete current line
6 Alt + ↑ / ↓ – Move line up/down
7 Ctrl + Alt + ↑ / ↓ – Copy line up/down

Code Formatting

1 Ctrl + Shift + F – Format code


2 Ctrl + Shift + O – Organize imports
3 Ctrl + I – Fix indentation

Code Completion

1 Ctrl + Space – Auto-complete


2 Ctrl + Shift + Space – Smart completion
3 Ctrl + 1 – Quick fix

Navigation

1 F3 – Open declaration
2 Ctrl + O – Outline
3 Ctrl + E – Switch files
4 Ctrl + Shift + T – Open class
5 Ctrl + Shift + R – Open file

Debugging

1 F11 – Run
2 F5 – Step into
3 F6 – Step over
4 F7 – Step return
5 F8 – Resume

Refactoring
1 Alt + Shift + R – Rename
2 Alt + Shift + M – Extract method
3 Alt + Shift + L – Extract variable

Comments

1 Ctrl + / – Single-line comment


2 Ctrl + Shift + / – Multi-line comment
3 Ctrl + Shift + \ – Remove comment

You might also like