Tuesday, February 13, 2007

Eclipse EPIC Plugin Syntax Error-Parsing Bug

EPIC is a Perl IDE plugin for the Eclipse platform. It has an unresolved bug where Perl files saved with a syntax error cannot be opened again and Eclipse will produce the following ambiguous error when opened:
Unable to create this part due to an internal error.
Reason for the failure: Argument not valid
For instance, the following code would cause an error due to a missing curly brace and a syntax error with the regular expression:
} elsif($test =~ /)
If the code is too complex to edit readily using the Open With -> Text Editor option, then copying the code to a new Perl document will highlight the syntax error normally.

No comments: