Clean out Eclipse workspace metadata

前端 未结 5 1326
挽巷
挽巷 2020-12-13 06:35

I use multiple workspaces with Eclipse. I recently noticed that some of my workspaces have a lot of cruft in them from software packages that I installed and then later remo

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-13 06:51

    In my case eclipse is not showing parent class function on $this, so I perform below mention points and it starts works:-

    I go to my /var/www/ folder and check for .metadata folder (Here check the .log file and it shows) Resource is out of sync with the file system: 1. Go to Eclipse --> Project --> Clean 2. Windows -- preferences --> General --> Workspace --> And set it to "Refresh Automatically"

    After that boom - things gets start working :)

    If you want to load variables from other files too then ado this :- Eclipse-->Windows-->Preferences-->Php-->Editor-->Content Assist --> and check "show variable from other files"

    Then it will show element , variables and other functions also.

提交回复
热议问题