I want to use Eclipse to do my Perl programming. For this purpose I have installed the EPIC-Plugin.
But how do I get the EPIC plugin to automatically insert the templates? Or the shebang? This is possible with Java-Class files out-of-the-box. Why not with EPIC? The templates that I talk about are the one under: Window -> Preferences Perl EPIC -> Editor -> Templates
They don't seem to work at all. For Java the work just fine (almost same location - just replace "Perl Epic" with "Java")
EPIC Repo: http://e-p-i-c.sourceforge.net/updates/testing
You should type the name of the template in the editor first - then hit ctrl+space, it should show you a list of all templates starting with that name.
So if you need a template to auto insert a shebang for example, have a template with these fields:
After you enabled and applied, you should be able to auto insert the shebang when you type #! then ctrl+space.
Also, you can import templates externally, there are tons online with all the basics covered. :)
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With