让zend studio 支持 redis函数自动提示

phpredis作者https://github.com/nicolasff/phpredis 写了文档https://github.com/ukko/phpredis-phpdoc
上面提到了如何让eclipse有自动提示功能(zend一样):

1、Open "Window" -> "Preferences"
2、In preferences dialog open "PHP" -> "PHP Libriaries"
3、Click "New" button, in "User library name" enter "Redis", click "OK"
4、Select newly created "Redis", library Click "Add external folder", select path to the folder which contains your checkout of phpredis-phpdoc or you can download single "Redis.php" file https://raw.github.com/ukko/phpredis-phpdoc/master/src/Redis.php
Include your custom library in your project: open "Project" -> "Properties" -> "PHP Include Path", click add library, select "User library", click "Next", check "Redis", click "Finish"

1、添加phplibrary

让zend studio 支持 redis函数自动提示

2、在自己的项目中引入library

让zend studio 支持 redis函数自动提示

上一篇:Visual Studio 2012设置Jquery/Javascript智能提示


下一篇:Exploring Ionic Lists