Top 10 eclipse shortcuts

Source: Internet
Author: User

Most of us who are using eclipse for at least 1 year are familiar with the shortcuts. its been quite challenging to know and remember all the shortcuts during the development time. and of course we dont need all of them. I have been collecting some shortcuts based on the user experiences and the way they develop software. followingTop 10 eclipse shortcutsHelps everyone in their happy day coding.

  1. CTRL + Shift + O: Organize imports
  2. CTRL + Shift + T: Open Type
  3. CTRL + Shift + F4: Close all opened editors
  4. CTRL + O: Open declarations
  5. CTRL + E: Open Editor
  6. CTRL +/: Line comment
  7. Alt + Shift + R: Rename
  8. Alt + Shift + L: Extract to local variable
  9. Alt + Shift + m: Extract to Method
  10. F3: Open declaration

Let me explain how I got these top 10 shortcuts.

  • I start developing a plugin. As the development goes I WANT TO refactor the Code with"Alt + Shift + L"And"Alt + Shift + L"And"Alt + Shift + m".
  • And not I have created methods and probably 500 + lines of code in Java file. A typical development involves commenting and uncommenting"Ctrl +/(Even though we have shortcuts for block commenting, looks like developers use more of Ctrl + /).
  • As we comment and uncomment and more class references, we have so far imports that need to be cleaned. we do copy very often from one class to another class, now I want to organize my imports by"CTRL + Shift + O"
  • Now I want to find variable and method declarations via"CTRL + O".
  • In the course of development I wocould like to view/analyze the declarations of the methods or classes via"F3 ″.
  • All well till now, I want to use an interface/class and want to search for it"Ctrl + Shift + T".
  • By the time we do all this we have too your editors opened and we wowould like to navigate among multiple open editors via"CTRL + E".
  • And finally you feel frustrated with so far opened editors and want to close all of them via"CTRL + Shift + F4".

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.