Code completion/assist for built-in PHP functions in Eclipse PDT

后端 未结 6 2175
鱼传尺愫
鱼传尺愫 2021-02-06 01:29

I\'m writing PHP code in Eclipse PDT (PHP Development Tools), but for some reason it doesn\'t auto-complete PHP built-in functions, such as \"isset()\". This is unlike Komodo wh

6条回答
  •  鱼传尺愫
    2021-02-06 02:12

    I came across a similar issue and found a fix for it, however, it's a bit of hack as I couldn't find a way to make the change in the Eclipse Menus. Basically I needed to add the following .buildpath file to the root of the project folder:

    
    
     
     
    
    

    If you already have a .buildpath file you could probably just add the line to the existing file:

     
    

    I believe I came across this issue when I created a project from existing source instead of creating a new project.

    Its been a month since you asked your question so hopefully this is still helpful.

提交回复
热议问题