[WebStrom] ShortCut keys

1. Tab --> Auto complate

EX: div.button + tab -->

<div class="button"></div>

 

2. Ctrl + Shift + Alt + J --> Change mutli lines

 

3. Add shortCut key

File-->Settings-->Live Template-->Find AngularJS

What we want is when we type:

qd + Tab

It will show: 

var  = $q.defer();

So we do like that:

 

 

 

4. Ctrl+d: duplicate lines

 

5. Ctrl + ;: search for one character

For example you want to search 'o', then you type 'b',  it will jump to the second defer() definion.

Others: type Home --> to the beginning of the line

             type End -->    to the end of the line

It also need to install a plugin: AceJump

 

6. Ctrl + Alt + V: to create a variable name;

For example: you have:

Mouse over element, then type: Ctrl+Alt+V

Then it will auto generate a var element variable for you:

 

7. Alt + Enter: create function according to the name:

Click Alt + Enter: select create function:

 

8. Ctrl + Alt + M: create a new function

posted @ 2014-09-08 17:05  Zhentiw  阅读(228)  评论(0)    收藏  举报