BRIEFS logo BRIEFS

45: Surround Templates

04/13/2016 , 2m, 59s

When you need to surround a word or any block of code with single or double quotes, square brackets or anything else you can use surround templates for this.

Also applies to: WebStorm

Key mappings

OSX:

  • Find Action: Shift + Command + A, Type: Live templates
  • Surround with Live Template: Command + Alt + J

Win/Linux:

  • Find Action: Shift + Ctrl + A, Type: Live templates
  • Surround with Live Template: Ctrl + Alt + J

Docs

Questions/Comments/Suggestions

@PhpStormBriefs