
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6
Visual web development tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.





