Open Declaration does not work for me. For example, if I highlight a fully qualified module name, say SomePackage::SomeModule which is in my perl include path, I get a popup which says "Could not locate module file for package SomePackage". It does not work under any circumstances or for any entity I highlight. My perl include path seems to be right, since every other function in epic which relies on it works.
Thanks for any help.
Have you tried a HelloWorld project with a single script referencing a single module contained in that project? Does it work then?
yes, it does work then.
hmmm... in the project in which it doesn't work, all package names reflect the directory structure, and are relative to the perl include path i have defined. e.g. perl include path is <somedir> and <somedir> contains directory, Somepackage, which contains file, Somemodule.pm, and I am simply highlighting "Somepackage::Somemodule" in code when I Open Declaration, and it doesn't work.
The only significant difference I see between how the two projects are configured is that they are in different locations on disk.
the Broken project is outside my workspace... I don't see why that would matter but that may not be a coincidence.
Was the broken project simply created in an alternative location or is some other trickery (like symlinks or Eclipse's linked folders) involved? You might want to delete the project in Eclipse (without deleting contents on disk) and then re-create it (by specifying the target directory as alternate location) to see if it helps.
Other than that, you can try debugging the problem yourself, see http://www.epic-ide.org/devguide.php for instructions. If you do, set a breakpoint in run(ITextSelection selection) in AbstractOpenDeclaration.java, perform the open declaration action and follow the lookup logic from there.
ok, thanks for the responses. i'll try to report back if i fix it.
Log in to post a comment.