DZone
Java Zone
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
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > 10 Best Eclipse Shortcuts

10 Best Eclipse Shortcuts

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

Erich Styger user avatar by
Erich Styger
·
Apr. 28, 12 · Java Zone · Analysis
Like (0)
Save
Tweet
122.53K 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, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How to Determine if Microservices Architecture Is Right for Your Business
  • Java: Why Core-to-Core Latency Matters
  • OPC-UA, MQTT, and Apache Kafka: The Trinity of Data Streaming in IoT
  • Deployment of Low-Latency Solutions in the Cloud

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo