does somebody have an idea, if PhpStrom allows to enter code snippets as Live Templates which consist of more than 1 file?
Just to give a better idea of what I'm trying to do: I develop with Magento E-Commerce framework and often have recurring tasks which are a bit more complex than just to insert a code snippet in one place. If you, say, want to rewrite a Magento model, you need to add some piece of code to an XML configuration file AND also add some code to the PHP file with a new model. This is a rather easy example, sometimes one needs to add code to far more than 2 places.
I tried to use the live templates as they are, but they are very context-relevant (e.g. one template is for XML and one is for PHP), so that I'm often not sure, if I really added the code to all places I had to to make it work.
Is there any possibility to add to multiple files and places using just one live template?
An idea I also already thought of could be to use an external code snippet management tool (e.g. http://shpakovski.com/codebox/). It is actually able to store multiple code pieces in one snippet. But there are unfortunately other drawbacks (extra OSX only software, proprietary snippet storing format, lacking export possibilities, much time since last update etc.)
Does someone maybe have a better idea how to handle this?
Thanks a lot for your comments and kind regards,