DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Debug Like a Pro in 2025: 10 New Eclipse Java Debugger Features to Enhance Your Productivity (With Spring Boot Examples)
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 3: Understanding Janus
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • Introducing Graph Concepts in Java With Eclipse JNoSQL

Trending

  • How to Submit a Post to DZone
  • DZone's Article Submission Guidelines
  • A Deep Dive into Tracing Agentic Workflows (Part 1)
  • From APIs to Actions: Rethinking Back-End Design for Agents
  1. DZone
  2. Coding
  3. Frameworks
  4. 10 Best Eclipse Shortcuts

10 Best Eclipse Shortcuts

Looking for the best Eclipse shortcuts? Here are the top 10.

By 
Erich Styger user avatar
Erich Styger
·
Apr. 28, 12 · Analysis
Likes (0)
Comment
Save
Tweet
Share
126.5K Views

Join the DZone community and get the full member experience.

Join For Free

yes, eclipse is a very visual and gui oriented ide. but this does not mean that everything is mouse oriented. while programming i have my hands on the keyboard. so i want to do as much as possible with shortcuts and the keyboard. the good news is that eclipse comes with a great set of helpers built-in. here is my list of my favorite hotkeys and shortcuts…

  1. f3 — jumps to include file or variable declaration/definition. if you want to use the mouse for this, press the ctrl key and hover over the source with the mouse. shortcut for navigate > open declaration .
  2. alt+left and alt+right — navigate through my source to back and forward. shortcuts for navigate > back and navigate > forward and backward .
  3. ctrl+space — content assist which proposes methods/member variables and more based on my typing. start typing with a. and it will show me the struct members. shortcut for edit > content assist :
    ctrl+space: content assist

    ctrl+space: content assist

  4. ctrl+3 — quick access let me go to views, perspectives and more. shortcut for window > navigation > quick access :
    ctrl+3: quick access

    ctrl+3: quick access

  5. ctrl+m — maximizes the current view or editor. press ctrl+m again and it goes back to the previous size. shortcut for window > navigation > maximize active view or editor .
  6. ctrl+shift+/ — insert block comment, remove it again with ctrl+shift+\. shortcut for source > add block comment . depending on your keyboard layout you might re-assign this short cut (e.g. if on your keyboard ‘/’ is only reached with the shift key).
  7. ctrl+shift+t — open an element with wildcard support. shortcut for navigate > open element :
    ctrl+shift+t: open element

    ctrl+shift+t: open element

  8. ctrl+f7 — switch to next view. pressing again ctrl+f7 let you iterate to the next view. use ctrl+shift+f7 for previous view. shortcut for window > navigation > next view:
    ctrl-f7: views

    ctrl-f7: views

  9. ctrl+alt+h — opens the call hierarchy. shortcut for navigate > open call hierarchy :
    ctrl+alt+h: call hierarchy

    ctrl+alt+h: call hierarchy

  10. ctrl-o — open the quick outline view . shortcut for navigate > quick outline :
    ctrl+o: quick outline view

    ctrl+o: quick outline view

if you do not like the shortcuts (or key bindings): go to window > preferences > general > keys and change the bindings:

key bindings

key bindings

i admit: this is my personal list. if you know about a ‘secret’ shortcut which you would like to see on this list, post a comment.

happy short cutting :-)

Eclipse Content assist

Published at DZone with permission of Erich Styger. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Debug Like a Pro in 2025: 10 New Eclipse Java Debugger Features to Enhance Your Productivity (With Spring Boot Examples)
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 3: Understanding Janus
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • Introducing Graph Concepts in Java With Eclipse JNoSQL

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook