How to:
-
Go to Preferences | Tools | Settings Repository
-
Add Read-only Source https://github.com/shyim/shopware5-live-templates
-
Restart PhpStorm.
-
To see all templates, go to Preferences | Live Templates and expand the Template Group.
- sqlformat
- Output QueryBuilder and replace all Parameters
- dd
- Dump and Die using the Symfony VarDumper
- debug
- Dump variables using Doctrine Util Debug
- debugevent
- Dump event listeners by event name
- block
- Create a new block
- extends
- Extends from a file
- include
- Include a file
- s
- Create a snippet
- dynamics
- Create a dynamic snippet
- currency
- Output and format a variable to currency
- each
- Create a foreach
- if
- Create a if statement
- loop
- Create a for loop
- url
- Link to a controller / action
- action
- Include a controller / action
- debug
- Open debug window
You have a idea for a Shortcut? Feel free to create a Pull Request!