zoukankan      html  css  js  c++  java
  • 让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

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

     

  • 相关阅读:
    例7-13
    例7-11
    例7-1
    例6-5
    例6-3
    例6-2
    例6-1
    例5-9
    例5-8
    例5-7
  • 原文地址:https://www.cnblogs.com/siqi/p/3618889.html
Copyright © 2011-2022 走看看