In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "Eclipse and Myeclipse common shortcut key arrangement," interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's take you to learn "Eclipse and Myeclipse common shortcut key arrangement" bar!
Eclipse common shortcut keys
1. Ctrl+Shift+R opens the resource.
This group of shortcut keys can open any file in the project, and I only need to enter the alphabetical order of the file name or mask name to appear the corresponding file or press a shortcut key in the content, for example: CustomerAuthor *.java. However, only files written by individuals in the project can be displayed, and files like *.jar cannot be displayed.
2. [Ctrl+O] Quick outline method to open class files
If you want to view the methods of the current class or a specific method, you can use this combination of shortcut keys to list all the methods and attributes in the current class. Just enter the method name or attribute you want to query and enter to jump directly to the corresponding position.
3. alt+shift+R file rename
To use this key combination, move the mouse over the property name or method name, press alt+shift+R, type the new name, and click Enter. If renaming is for an attribute in a class, press alt+shift+R twice to call the source code processing dialog box to implement automatic renaming of the get and set methods.
4. Ctrl+E: Quick Conversion Editor
This set of shortcut keys will help you switch browsing when there are multiple windows between open editors. Use ctrl+page down or ctrl+page up to browse the tabs before and after; ctrl+E is very efficient if many files are open at the same time.
5. [alt+ arrow keys]
This shortcut key combination moves the contents of the current line up or down, or selects any consecutive line to move the contents up or down. It works especially well in the try/catch exception handling section, which I recommend.
6.【shift+enter】
This shortcut key combination creates a blank line after the current line regardless of whether the cursor is at the end of the line.
7.【ctrl+shift+enter】
This shortcut key combination creates a blank line before the current line regardless of whether the cursor is before the line.
8.【ctrl+M】
This shortcut key combination maximizes the display screen, increasing the user's visibility into code and productivity.
9. [Ctrl+1] Quickly correct errors
This shortcut key combination can quickly provide suggestions for problems to improve code writing efficiency.
10.【ctrl+shitf+A】
This key combination is Eclipse's column editing function. You only need to enter column editing mode by pressing Alt+Shift+A. After modifying, press Alt+Shift+A once to exit column editing mode. If you want to indent a piece of code, just select the code block and press Tab (shift+Tab code indentation Tab increases the number of spaces); if you want to add a string in front of each line, you can fill it in directly. There are many insertion methods to explore and know.
11.【ctrl+shift+L】
This shortcut key combination allows you to view all shortcut key combinations.
Debugging shortcuts, Eclipse has the following and run debugging related shortcuts
1. Ctrl+Shift+B: Set or cancel a breakpoint on the current line.
2. [F11]: Debug the last executed program.
3. Ctrl+F11: Run the last executed program.
4. [F5]: Trace to method. When the program executes to a certain method, press [F5] to trace to method.
5. [F6]: Single-step execution program.
6. [F7]: After executing the method, return to the next statement that called this method.
7. [F8]: Continue execution until the next breakpoint or program end.
Commonly used editor shortcuts, usually text editors provide some shortcuts related to editing, and text editing can also be done through these shortcuts in Eclipse.
1. Ctrl+C: Copy.
2. Ctrl+X: Cut.
3. Ctrl+V: Paste.
4. Ctrl+S: Save the file.
5. Ctrl+Z: Undo.
6. Ctrl+Y: Repeat.
7. Ctrl+F: Find it.
"Auto Activation triggers for java" This option refers to the option that triggers the code prompt. "abcdefghijklmnopqrstuvwxyz" means to encounter 26 letters and ". "These symbols trigger code prompts.
Modify the class name, interface name, etc. to highlight in different colors, in "java"→"enditor"→"syntac", the right layer to expand "java"→"classes", check the "Enable" option configuration, select your favorite color.
At this point, I believe that we have a deeper understanding of the "Eclipse and Myeclipse common shortcut key finishing", may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.