Recently read a lot of great God wrote the blog, have the idea of writing something. It is a self-summary to make a log, at least one article a week.
Let's start with a simple foundation. Zi Yue: 工欲善其事, its prerequisite. So the question is, what's better for front-end development? I used Webstorm anyway, and spent some time looking at other people's ways of using it. The following is a breakdown of this.
Common shortcut keys:
- Double Shift:search everywhere. Equivalent to the ctrl+shift+ code inside the sublime.
- Ctrl+shift+backspace: Jump to the location you previously edited
- CTRL+SHIFT+L: Format code.
- ctrl+shift+ ' + ': Collapse code.
- ctrl+shift+ '-': Shrink the code.
- Ctrl+shirt+n:goto any file;
- Ctrl+n:goto class;
- Ctrl+shift+a: Equivalent to the ctrl+shift+p inside the sublime, the operation can not remember to search in this area.
- Ctrl+shift+<number> to set, ctrl+<number> to jump there; Mark a line in the code, and you can go quickly.
- ctrl+e:recent files. Open a file that you have recently edited.
- Complete Statement (ctrl+shift+enter);
- Ctrl+b:to where it ' s defined; Jump to the stated place.
- Ctrl+space:pop out Hinting dialog pop-up prompt box.
- ctrl+shift+v:paste2.0 the enhanced version of the paste
- Shift+f6:rename variable name; Rename variable
- Ctrl+f12:jump to some the location of the current file;
- alt+insert:new file; Create new files.
Common plugins:
- Ace jump. The cursor jumps to the character you entered.
- Codeglance. Minimap similar to sublime to the right.
- Keypromoter: When you use the mouse to do something, if there are shortcut keys, you will be prompted to shortcut keys, if not, the operation more than three times will prompt you to set the shortcut key. Quite domineering.
First of all, new discoveries will continue to be updated in the future. If you have a referral, you can also leave a message to remind me.
Webstorm common shortcut keys and plugins