Foreword: Many friends have asked questions about the shortcut keys of the Mac idea. This site will give you a detailed answer for your reference. I hope it will be helpful to you! Let’s take a look!
1. Idea shortcut keys are as follows: Ctrl-D to copy the current line, Ctrl-Y to delete the current line. Ctrl-Shift-U, Ctrl Shift Alt U to display the class inheritance structure diagram, and then press Alt-M. Alt-F1 returns to the directory structure where the current file is located. Ctrl-Shift-V Pastes some recently copied information.
2. The steps for restoring the default settings of the idea shortcut key are as follows: (The demonstration uses the WIN10 system, and the operation of other Windows versions is roughly the same) 1. Double-click "This PC" on the desktop. 2. Enter the "C:\Users\your username" directory.
3. The idea shortcut keys include the following: Ctrl F to search text in the current file (required). Ctrl R performs text replacement in the current file (required). Ctrl Z Undo (required). Ctrl Y deletes the line where the cursor is or deletes the selected line (required).
4. If idea is accidentally upgraded, it can be rolled back. The steps are as follows. Create a new branch on the commit to be rolled back, gitcheckout. Paste the version number you just copied in the pop-up window, then click OK. The version rollback is successful. IntelliJIDEA's back shortcut key is Ctrl Z.
5. The back shortcut key of IntelliJ IDEA is Ctrl Z. IntelliJ IDEA is an integrated environment for Java programming language development. It has functions such as intelligent code assistant, automatic code prompting, refactoring, J2EE support, various version tools (git, svn, etc.), JUnit, CVS integration, code analysis, innovative GUI design, etc.
The idea shortcut keys are as follows: Ctrl-D to copy the current line, Ctrl-Y to delete the current line. Ctrl-Shift-U, Ctrl Shift Alt U to display the class inheritance structure diagram, and then press Alt-M. Alt-F1 returns to the directory structure where the current file is located. Ctrl-Shift-V Pastes some recently copied information.
Idea shortcut keys include the following: Ctrl F to search text in the current file (required). Ctrl R performs text replacement in the current file (required). Ctrl Z Undo (required). Ctrl Y deletes the line where the cursor is or deletes the selected line (required).
intellijideaReplacement shortcut key details "ctrl r" shortcut key, used to replace the current file content, refers to replacing matching characters in the currently opened file, only operating one file; "ctrl shift r" shortcut key Key for substitution in paths.
1. What key in idea is equivalent to ctrl shift o in eclipse. Alt Ctrl - Removes a command from a menu. When you type this shortcut key (on the numeric keypad and then select a menu command, the command will be deleted by the minus key).
2. [ALT /] This shortcut key is a good helper for users to edit and can provide users with content assistance. Don’t worry about not remembering all the names of methods and attributes. Be careful not to remember all the names of classes, methods and attributes. When using the keyboard, try more of the benefits brought by the [ALT /] shortcut key.
3. Organize imports: Ctrl Shift O In the specified file, use the shortcut key Ctrl Shift O to intelligently organize the package names or namespaces imported by the file.
4. Ctrl Shift O: Can open the quick outline panel to display all classes, methods and variables defined in the current file.
5. Like the ctrl H function in eclipse, we can search in the entire page after using the ctrl F key, but if we use Ctrl Shift F, we will search in the entire intellij idea. When searching globally, we can clearly see that its search speed is superior to other compilers.
1. Open Project Structure in idea. The default shortcut key for idea on mac system is command and press Enter. Select Artifacts on the left and click =》Jar = 》 from module with dependencies Choose your own project.
2. Intellijidea packaging jar tutorial File-Projectstructure-Artifacts-JAR-Frommoduleswithdependencis. At this time, the META-INF folder and the .MF file in it will be generated in the same directory as the MainClass you selected.
3. First click the run button on the toolbar: (I have already configured it here) The run configuration dialog box will open: select this: (You can configure two servers at the same time, one as a local server, One is used as a remote server.
4. First, create a new testjar project here, then the main method is in the ExporMainJar class, and then the main method just outputs a sentence, the code is as shown below. Then right-click the project and click [Export .], as shown below. Then click [Runable JAR file], as shown below.
5. After packaging the selected project, open the Maven Projects view, as shown below: Then run the package and repackage the project. When the log Appears: indicating that the packaging is successful. Export the successfully packaged jar package.
6. In the maven warehouse, there is: Then open the jar package in idea, you can see the comments of the code: Hold down ctrl class name It can show where it is called: for jar packages that do not have corresponding sources.jar, you cannot see it. The sources.jar corresponding to the jar package is generally published online by large companies.
1. Run this command one by one, and it will be OK. If you submit it again, this file will no longer appear. Reason: Use gitadd to submit these files to the staging area. The contents of the staging area are not cleared after the commit, causing the files to appear blue. If idea is accidentally upgraded, it can be rolled back. The steps are as follows.
2. Cannot be rolled back. If you want to retrieve the original version, you can only select the corresponding version to download. Therefore, in order to avoid automatic upgrade of idea, you can turn off this item in the settings.
3. gitreset[commit hash value], but this can only roll back the local branch to the commit, and the remote branch will still be in the original place.
4. After opening the idea software, the code window will appear. Enter the Settings interface, and then use the Esc shortcut key to quickly return to the code window. After clicking the Esc shortcut key, you will return to the create page.
5. Description: Two steps, tedious operation; 2 One command to stop method kill -9 `ps -ef | grep platform-scm-v10jar | grep -v grep `Note: use the pipe twice, exclude For other processes, directly kill the corresponding process.
1. You cannot roll back. If you want to retrieve the original version, you can only select the corresponding version to download. Therefore, in order to avoid automatic upgrade of idea, you can turn off this item in the settings.
2. If idea is accidentally upgraded, it can be rolled back. The steps are as follows. Create a new branch on the commit to be rolled back, gitcheckout.
3. Paste the version number you just copied in the pop-up window, and then click OK. The version rollback is successful.
Conclusion: The above is all the content about Mac idea shortcut keys compiled by this site for you. Thank you for taking the time to read the content of this site. I hope it will be helpful to you. Don’t forget to learn more related content. Find it on this site.
The above is the detailed content of mac idea shortcut keys (mac idea shortcut keys collection). For more information, please follow other related articles on the PHP Chinese website!