Home > Development Tools > webstorm > Share common shortcut keys for webstorm

Share common shortcut keys for webstorm

王林
Release: 2021-01-01 11:32:07
forward
8615 people have browsed it

Share common shortcut keys for webstorm

The following are some commonly used shortcut keys for Webstorm that I have compiled. They are very practical and I would like to share them with you now:

(Learning video sharing: programming video

1. ctrl shift n: Open files in the project. The purpose is to open files in any directory under the current project.
2. ctrl j: Output template
3. ctrl b: Jump to variable declaration
4. ctrl alt T: Wrap code (including zencoding's Wrap with Abbreviation)
5. ctrl [ ]: Match {}[]
6. ctrl F12: Can display the structure of the current file
7. ctrl x: Cut (delete) lines, unselected, directly cut the entire line, if part of the content is selected, then Cut the selected content
8. alt left/right: label switching
9. ctrl r: replace
10. ctrl shift up: line movement
11. shift alt up: block movement (if (){},while(){} statement block movement)
12. ctrl d: Line copy
13. ctrl shift ]/[: Select block code
14. ctrl / : Single line comment
15. ctrl shift / : Block comment
16. ctrl shift i : Display detailed information of the current CSS selector or JS function
17. ctrl '-/ ': You can collapse any code block in the project, Instead of selecting the fold, it automatically recognizes the fold.
18. ctrl '.': Collapse the code of the selected code.
ctrl / single line comment
ctrl shift / block comment
ctrl shift /-expand/collapse
ctrl alt L format code
ctrl shift up/down move sentences up and down
Alt back Car import package, automatically correct
Ctrl N Find class
Ctrl Shift N Find file
Ctrl Alt L Format code
Ctrl Alt O Optimize imported classes and packages
Alt Insert Generate code ( Such as get, set methods, constructors, etc.)
Ctrl E or Alt Shift C Recently changed code
Ctrl R Replace text
Ctrl F Find text
Ctrl Shift Space Autocomplete code
Ctrl Space code prompt
Ctrl Alt Space Class name or interface name prompt
Ctrl P Method parameter prompt
Ctrl Shift Alt N Find methods or variables in the class
Alt Shift C Compare the recently modified code
Shift F6 Refactor-Rename
Ctrl Shift key first
Ctrl X Delete line
Ctrl D Copy line
Ctrl / or Ctrl Shift / Comment (// or /*... */ )
Ctrl J Automatic code
Ctrl E Recently opened file
Ctrl H Display class structure diagram
Ctrl Q Display comment document
Alt F1 Find the location of the code
Alt 1 Quickly open or hide the project panel
Ctrl Alt left/right Return to the last browsed position
Alt left/right Switch code view
Alt Up/Down Quickly move between methods
Ctrl Shift Up/ Down moves the code up/down.
F2 or Shift F2 Highlight errors or warnings to quickly locate
After entering the code label, press Tab to generate the code.
Select the text, press Ctrl Shift F7, highlight all the text, press Esc to highlight it.
Ctrl W selects the code, continuous pressing will have other effects
Select the text, press Alt F3, search for the same text one by one, and highlight it.
Ctrl Up/Down The cursor jumps to the first or last line
Ctrl B Quickly opens the class or method at the cursor

Related recommendations: webstorm tutorial

The above is the detailed content of Share common shortcut keys for webstorm. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template