Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to improve work efficiency by Eclipse

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly shows you "Eclipse how to improve work efficiency", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Eclipse how to improve work efficiency" this article.

Eclipse's good habits to improve productivity:

1. Switch edit point Alt +

2. View the open file Ctr + e

3. Making full use of the template is mainly defined by yourself.

4. Custom shortcut keys generate Getter and Setter

My: Ctr+Shift+S,S individual attribute generation you can: there is one item in the Ctr+1 suggestion

5. When deleting, try not to backspace or delete key, row-level Ctr+d, individual parts of the row Ctr+x

6. Replace Ctr+2,r if you see that the method name or variable name is not good

7. Find the next one selected: Ctr+k, reverse check: Ctr+Shift+k

8. Run Ctr+F11

9. Case conversion: Ctr+Shift+X Ctr+Shift+Y

10. * General window switching: Ctr+M

11. Sometimes, Alt+Shift+X,Q runs well, especially when running build individually

12. Multi-window editing, you may not be used to it, but after using it, you will find it quite efficient:

Window- > New Window

13. The class annotation that implements the interface: @ Override. It is good to use Ctr+1.

14. Forget the class name, remember about?

Ctr+Shift+T remember to use *? Oh.

15. Debugging needless to say, F5 F6 F8 F7

16. The tabs in the console row can be turned off as many as you can. Don't waste resources. I only used three Problems Tasks Consle.

17. Make full use of TODO and Tasks views, and chances are you will forget what you want to implement or improve in the future.

18. Switch the method Ctrl+Shift+Down/Up in the location class

19. Copy the selected line Ctrl+Alt+Down/Up

20. It is better to correspond to Article 18 or this outline of activities: ctr+o

21. Ctrl+shift+r file search (you don't have to click on the package one by one to find it)

22. Alt+shift+Q P when editing the window * *, you can quickly open Package Explorer

23. Alt+shift+Q C when editing the window *, you can quickly open Console

24. Ctrl+b performs build (automatic build is generally cancelled) and ctrl+l locates the line number

25. Ctrl+shift+f code formatting

26. Ctrl+t (ctrl+t+t) to view the inheritance structure of a class or method

27. Ctrl+shift+u to see where the variable is referenced

28. Ctrl+shift+g (alt+shift+h) to see where the method is called

29. Alt+shift+c refactoring class or method signatures (effective when refactoring interfaces)

30, about refactoring shortcuts, I will not say, make good use of the function of refactoring for the adjustment of code structure is really a word: cool!

So it's a great way to improve efficiency, and I appreciate it here because I'm still dealing with the rudimentary level of refactoring, and I can always try to improve it:

Press: Alt+Shift+T frequently (= right-> Refactor- > Series Select)

These are all the contents of the article "how to improve work efficiency in Eclipse". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report