Code completion for PHP extensions in Zend Studio?

After installing the HTTP extension from PECL, I expected Zend Studio 6 to recognize the provided HTTP * classes and code completion would be available. However, it is not. How to get Zend Studio to recognize classes provided by PHP extensions? In particular, I want to be able to use competition in these classes.

+3
source share
5 answers

I used the phpgenerator.php script from Michael Spector. It creates a php documentation folder with downloaded extensions on your computer. After that, the path to the document can be added to the Eclipse path (Zend Studio). Filling the code works like a charm.

using:

console: php phpgenerator.php $path_to_doc_output

http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.pdt/plugins/org.eclipse.php.core/Resources/language/?root=Tools_Project

  • script PHP- PDT.
  • PHP PHP,
  • , PHP.net *
  • @author Michael Spector
+3

Eclipse, Zend Studio , , "PHP Include Path". "PHP Include Path" . , . Eclipse , .

PhpUnit2.

+1

Eclipse, , Netbeans PHP, PHP- IDE .

0

Studio, PHP . : - gmdate(), F3. . , ( , ). , , , . , , - , geoip.php - . /Show In/PHP Explorer , , .

0

Zend Zend Studio.

, , , ( ). "" PHP : /.metadata/.plugins/org.eclipse.php.core/ ( , ).

0

Source: https://habr.com/ru/post/1712172/


All Articles