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

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Simplify NoSQL Database Integration in Java With Eclipse JNoSQL 1.1.3
  • Domain-Driven Design: Manage Data With Jakarta Data and JNoSQL
  • Understanding and Learning NoSQL Databases With Java: Three Key Benefits
  • Achieving Inheritance in NoSQL Databases With Java Using Eclipse JNoSQL

Trending

  • Artificial Intelligence, Real Consequences: Balancing Good vs Evil AI [Infographic]
  • Automatic Code Transformation With OpenRewrite
  • How to Convert XLS to XLSX in Java
  • A Complete Guide to Modern AI Developer Tools
  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.0K 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.

Related

  • Simplify NoSQL Database Integration in Java With Eclipse JNoSQL 1.1.3
  • Domain-Driven Design: Manage Data With Jakarta Data and JNoSQL
  • Understanding and Learning NoSQL Databases With Java: Three Key Benefits
  • Achieving Inheritance in NoSQL Databases With Java Using Eclipse JNoSQL

Partner Resources

×

Comments

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

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: