Eclipse no auto-installation for EPIC (Perl plugin)

I want to use Eclipse for programming in Perl. To do this, I installed the EPIC plugin.

But how do I get the EPIC plugin to automatically insert templates? Or shibang? This is possible using Java-Class files out of the box. Why not with EPIC? The templates I'm talking about are: Window -> Perl EPIC Settings -> Editor -> Templates

They do not seem to work at all. For Java, the work is just fine (almost the same place - just replace โ€œPerl Epicโ€ with โ€œJavaโ€)

EPIC Repo: http://epic.sourceforge.net/updates/testing

+8
eclipse perl eclipse-plugin epic
source share
2 answers

First you must enter the name of the template in the editor, and then press Ctrl + space, it should show you a list of all the templates starting with this name.

So, if you need a template to automatically insert shebang, for example, use a template with these fields:

  • Name: #!
  • Context: Perl
  • Description: Any fancy description
  • Output: $ {cursor} #! / Usr / bin / env perl

Once you have enabled and applied, you should be able to automatically insert a shebang when entering #! then ctrl + space.

In addition, you can import templates from the outside, there are tons on the Internet with all the common tools. :)

Hope this helps.

+2
source share

I have been using Eclipse - EPIC - Perl for a couple of years now. (On Windows XP SP3 and Windows 7). I find this a great tool (much better than PADRE) that I originally tried. Its variable monitoring management is excellent.

Once, when I come across a small error, but usually they are quite functional. I just don't use templates (on Windows you still don't need shebang).

0
source share

All Articles