How to get Eclipse show class hierarchy across multiple PHP projects? -
i have downloaded , tried eclipse able browse class/interface hierarchy easily. noted "open type hierarchy" feature , works nice when ascendants , descendants of class within same project.
however, complication is: classes extend classes other projects. have 2 projects: mysite , myframework. class mysite project called mysite_controller
extends myframework_web_controller
located in myframework project. when code run, php can see both codebases because autoload configured. however, don't know how eclipse know classes particular prefixes. may have guessed, 2 projects can't joined because myframework used other projects well.
so question is: how eclipse correctly show "foreign" parent class mysite_controller
in type hierarchy view? view won't show classes files cannot found within current project.
p. s. should goal not achievable eclipse, i'd hear names of other php ides can nice , easy.
you can achieve adding myframework
project files mysite
's php include paths. note eclipse's help:
note: adding libraries or external projects elements project's include path will make elements defined in these resources available content assist options.
most major ides support php include paths.
Comments
Post a Comment