Download the latest version of Webstorm 7 today. Anyway again set up again, simply write down the blog inside, lest every time later forget to search everywhere more trouble.
Accelerated
Disable unnecessary plugins and turn off unnecessary code checks.
The main reasons for the slow Webstorm are 2 points:
- Plugin loaded too much, put what git SVN GITHUB FTP .... It's not necessary to ban it.
- Code check, if you do not set a bit, each check will take a long time, and the CPU does not give power to the computer will be very card.
But there's a plugin I have to install, css-x-file.
Add Item
By default, only one project can be opened at a time, and if you need to open more then follow the methods below
Add content root in directories, settings, File----Adds the project directory you need.
Interface
- Modified topic: Appearance, select Theme Theme-darocula
- Modify font: Editor-colors & Fonts-font, select a scheme and save it to set the font and size. Font size I here 17px English is relatively clear, you can adjust according to the preview, IDEA12 began to bring the source Code Pro, Adobe Home Open source and other wide fonts, also very comfortable drip.
- Wrap: Editor, check use soft wraps in editor
- Show line number: Editor-appearance, tick show lines numbers
- Show code hint speed: Editor-code completion,autopopup in (ms): set to 0
- With wood and ST2, what kind of multiple areas are selected at the same time? A: Wood has, we generally use refactor refactoring (Shift + F6), column editing (Alt + drag, you can select multiple lines), bulk replacement (Ctrl + R) to achieve.
- What's that line on the right? The code snaplines in the transfer are prepared for people who don't like the automatic wrapping. Settings>appearance>show right margin; When this thing is formatted, it controls the line-wrapping area, so you can disable it if you don't.
- Turn off edit (also called virtual space) anywhere? Settings>editor>allow placement of caret after end of line
- Comment At the beginning of the line instead of immediately following the code? Code Style > Javascript > Wrapping and Braces > comment at first column unchecked
Code spelling checker settings:
- Duplicate variable declaration: general-duplicate JavaScript Declaration
- Undeclared variable (important!) Otherwise there will be n global variables): general-implicitly declared global JavaScript variable
Common shortcut keys
ctrl+/or ctrl+shift+/ |
Comments (//or/*...*/) |
Shift+f6 |
Refactoring-Renaming (quickly modifying HTML tags) |
Ctrl+x |
Delete Row |
Ctrl+d |
Copy rows |
Ctrl+g |
Find rows |
Ctrl+shift+up/down |
The code moves up/down. |
F2 or Shift+f2 |
Highlight error or warning quick location |
Write code, press TAB |
Generate code |
Select text, press CTRL+SHIFT+F7, ALT+F3 |
Highlight all of the text and press ESC to highlight the disappear. (Because of this function I can be relieved to give up sublime) |
Ctrl+b or CTRL + left mouse button click |
Quickly open the class or method at the cursor (NB function) |
Ctrl + Alt + B |
Go to implementation (s) Jump method implementation |
Ctrl + Shift + I |
Open Quick Definition Lookup opens define Quick Find |
Alt + Up/down |
Go to Previous/next method jumps to previous/next methods |
Ctrl+e |
Recently opened files |
Alt+f1 |
Find the location of your code |
Ctrl+alt+l I would normally change to F4 manually |
Formatting code |
Ctrl+r |
Replace text |
Ctrl+f |
Find text |
Ctrl+p |
Method parameter Hints |
F3 |
Find the next |
Shift+f3 |
Find Previous |
Alt+shift+f |
Add the current file to the Favorites folder |
Ctrl+alt+s |
Open the Configuration window |
Ctrl+shift+n |
Quickly find files within a project by file name (required) |
Ctrl+shift+alt+n |
Quick Find location with one character (required) |
Shift+enter |
Start a row again (regardless of where the cursor is) |
Ctrl + Alt + T |
With ... (if, else, try, catch, for, etc) use * to surround the selected line of code (* including if, while, try catch, etc.) |
Ctrl + Shift + U |
Toggle case to Word at caret or selected block cursor position |
Ctrl + Delete |
Delete to Word end remove text ends |
Ctrl + Backspace |
Delete to Word start deleting text |
F11 |
Toggle Bookmark Toggle Flag, I think the bookmark is better, is sublime text F2 |
Ctrl + Shift + F12 |
Toggle Maximizing editor Toggle maximized |
To be Continued ...
Finally, don't forget to export your settings so that you don't have to configure them for half a day.
This article was reproduced from: http://liuxiaofan.com/2013/11/25/1514.html#
Webstorm Common Settings and common shortcut keys