php - How get Eclipse to find attributes and methods?
Get the solution ↓↓↓I finish my evaluation of PhpStorm and I got back do Zend Studio today. When implementing my classes and methods I can't get the Zend Studio find methods, classes and not even php built-in functions. For example: I am extending from TestCase from PHPUnit and the IDE can't find methods any methods within $this. It can't find even attributes in the same class. I mean to find all of those using Ctrl + Space.
How can I get the Eclipse Zend Studio to find all those attributes, methods, functions that PhpStorm found, using Ctrl + Space?
Answer
Solution:
Zend Studio is no longer maintained, but Eclipse PHP plugin still breathing, we recently moved to GitHub.
To have any Code Assist / Validation in PHP file, you need:
- Configured PHP project
- File inside Source Path (previously called Build Path).
See more in help: https://help.eclipse.org/2020-03/topic/org.eclipse.php.help/html/tasks/creating_php_projects.html
If you have any issue, ask here: https://github.com/eclipse/pdt
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: filter_sanitize_string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.