Block gaze using Java in Webstorm
There's a picture of the truth
It's easy to/**+enter in Java to create class gaze at high speed. But there is no ready-made webstrom, so we have to create one ourselves, detailed methods such as the following:
- The version number of Bo Master Webstorm is 10.0.
- Achieve the same purpose as Java
Start authoring
Open webstorm->file->setting->editor->live Templates
- Click +
- Then 2, 3, 4 in accordance with the completion, you can arbitrarily change
The $filename$ fileName, which is the variable name, is defined arbitrarily. /** this is keyword. The fourth step is the template we want.
- The fifth step is to set the display of the variable, click on it, and the variable we define will appear. Then select in expression, such as filename, to select filename () so that the name of the file is output when the gaze appears. The others are similar.
- The sixth step is to select the button trigger, which is triggered by tab. The seventh step is the scope of the triggering application. Choose according to your habits.
Finally apply can be. Find a place to try. is not very cool!
Block gaze using Java in Webstorm