Menu

Auto-Complete for own modules

Roman
2013-07-26
2013-07-26
  • Roman

    Roman - 2013-07-26

    I am not sure if am getting it right. Is a Auto-Complete/code-Suggestion for own modules available?

    I am having the following module:

    package MyModules::Test;
    sub hello {
    }
    

    and this script:

    use MyModules::Test;
    my $test = MyModules::Test->new(...);
    

    If i type $test-> nothing is suggested for auto-complete.

    The modules are on the Perl-Ignore-Path. Is this the cause?

     
  • Jan Ploski

    Jan Ploski - 2013-07-26

    It works for me (EPIC 0.6.53)... unless I forget to terminate the module's source with "1;", but then an error is also displayed on "use" so I doubt if that's your problem. I don't know what you mean by "Perl-Ignore-Path".

     
  • Roman

    Roman - 2013-07-26

    Thanks for that quick reply. I will give it a try.

    You can set up the "Perl Ignored Paths" at Project-Properties. This path will not be validated by perl.

     
    • Jan Ploski

      Jan Ploski - 2013-07-26

      I see. "Perl Ignored Paths" does not interfere with autocompletion in my test.

       

Log in to post a comment.