In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Function
Shortcut key
Description
Hide windows other than the edit box
Shift+Ctrl+F12
Hide / Open Project window
Alt+1
If the cursor is focused on the file, pressing the shortcut key opens / hides the Project window and selects Project
Expand the editing window
Shift + Ctrl + Right/Left
View recently edited files
Ctrl+ E
This feature is often used.
Close the window
Ctrl + F4
Expand the choice
Ctrl + W
Very good, based on the cursor position expansion to replace the code block, try to know
Move the selected code up and down
Shift + Alt + Up
Wow, after selecting the code block with Ctrl+W, and then using this shortcut to move the code, like one
Delete a row
Ctrl + Y
Copy and paste the selected code
Ctrl + D
The whole command is a shortcut to delete a row in Eclipse
It's a little hard to turn around.
Variable renaming
Shift+ F6
Select the variable, press the shortcut key, and press enter to confirm after modification.
Select all strings with the same name in the file
Shift + Ctrl + Alt + J
This shortcut key can not only find the string with the same name in the method block.
Can find the same name string in the whole file.
When selected, you can modify the string at the same time.
Check the code formatting
Ctrl + Alt + I
Full-text code formatting
Ctrl + Alt + L
View information such as method definitions and return values
Ctrl + Q
Search for text
Ctrl + Shift + F
Similar to Ctrl + H in Eclipase
View the method call level
Ctrl + Alt + H
Show the method call level and find out where a method is called
Quickly open a class or method at the cursor
Ctrl + B
Locate the line
Ctrl + G
Locate the code location by the line number of the code
Review recently viewed documents
Ctrl + Alt + Left/Right
Forward / backward review the code you viewed in the previous step
Show the method structure in the class
Alt + 7
Show all the methods in the class
Prompt method parameters
Ctrl + P
Use shortcut keys in method parentheses to prompt for parameter details
Quickly add syntax blocks
Ctrl + Alt + T
Select the code, press the shortcut key, and select the syntax you want to add
The method of automatically adding a parent class
Ctrl + O
After pressing the shortcut key, prompt all the methods of the parent class
Select the required method to add
View the tree structure of the referenced class
Alt+F7
You can list the class of the application
And displayed in new,.class,import respectively.
For example: new A (); A.class; import com.A
Construction method shortcut
Alt + Insert
Rapid construction methods, including construction method getter setter equals, etc.
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.