webstorm(idea)

Use jq shortcuts added per repetition code blocks are used jQuery
  • File -> setting -> Click live search Live Templates, select HTML / XML, click the plus sign to the right.
    Here Insert Picture Description
  • Copy the code block you want to add to the Template textarea, adding jq in Abbrevation source, and then click Define select all, that is the first option, and click Apply.
    Here Insert Picture Description
  • Create a new html document, enter jq, press the Tab key, the following effects
    Here Insert Picture Description
    Here Insert Picture Description
  • Back to the Settings page, modify the yellow area, adjust the format, click Apply, click ok.
    Here Insert Picture Description
  • Enter jq, click Tab.
    Here Insert Picture Description
  • ok~
Published 53 original articles · won praise 13 · views 2250

Guess you like

Origin blog.csdn.net/qq_36821220/article/details/103716760