您的位置:首页 > 数据库 > Redis

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

2014-03-23 12:40 309 查看
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



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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: