Undefined subroutines are not checked in the editor. Only at compile-time when I run the program.
How can I change that?
My program is trivial:
If you want that feature, do not use Perl (or any other language that allows symbols to be defined at runtime).
You mean that this feature is not implemented?
When I press the control key and move the mouse over a define function (I am new to perl and may not use the right terminology) then the function is underlined and I can jump to the definition with ctrl-left mouse click. So there must be a way to see if there is definition for a function.
Why not give a warning (or underline like in grammar checker) for undefined functions?
The navigation works on a "best effort" basis, using a primitive full text search with some assumptions, which is also fairly slow. The underline on CTRL is offered basically for words. EPIC doesn't even have a way of determining which word is a function and which isn't. So it would be rather difficult to do it on-the-fly in the parser/scanner, and the result would be wrong in many cases - it's better not to make such false impressions.
Thank you very much for the detailed and thorough answer. I think I understand now.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.