How to enable autocomplete/syntax-highlight for PHP core functions in Eclipse?

后端 未结 8 1830
小鲜肉
小鲜肉 2020-12-14 16:19

I searched a lot, checked many times the neccesary steps, but it still don\'t work.

My environment is :

  1. Latest eclipse for PHP developer package

8条回答
  •  忘掉有多难
    2020-12-14 16:48

    There seem to still be a lot of bugs related to auto-completion for the PHP Development Tools Project (PDT) (See Open Bugs).

    One has been entered two days ago: bug 286733 "When using sub namespace completion does not work."

    alt text

    But this is hardly the only one:

    • "Autocomplete on namespaces failed" (bug 281766)
    • "[php 5.3] Code assist doesn't provide method completion" (bug 286068)
    • ...

    They are all related to the namespace of the PHP code. Could you check if you reproduce the error in a global namespace?

提交回复
热议问题