GithubHelp home page GithubHelp logo

chenqingji / swoole-auto-complete Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wudi/swoole-ide-helper

0.0 2.0 0.0 13.62 MB

Swoole 在IDE下自动识别类、函数、宏,自动补全函数名

swoole-auto-complete's Introduction

swoole-auto-complete

Swoole 在IDE下自动识别类、函数、宏,自动补全函数名

Swoole 结构,便于开发过程中查看文档,以及屏蔽IDE undefined 提示,便于快速查看函数用法。

当前适用Swoole版本: swoole-1.7.7

Swoole releases 版本下载地址:https://github.com/swoole/swoole-src/releases

使用方式

普通IDE:

开发Swoole项目同时,在IDE中打开/导入本文件即可。

如果IDE自带 Include Path 功能(如:PhpStorm),设置该文件路径即可。

PhpStorm 另一种方法:

WinRAR打开 <Phpstorm_Dir>/plugins/php/lib/php.jar 文件

复制 swoole.php 到路径:com\jetbrains\php\lang\psi\stubs\data\

当然你也可以直接使用已经做好的 php.jar 直接覆盖即可。

(php.jar 拷贝来源PhpStorm 7.1,其他版本如存在兼容性问题,请自行按上面方面进行处理,覆盖php.jar时注意备份)

保存文件,重启Phpstorm.

PHPstorm使用演示(其他IDE同理):

demo1

demo2

demo3
demo4

使用php.jar包

demo5

swoole-auto-complete's People

Contributors

wudi avatar taobao-php avatar matyhtf avatar

Watchers

James Cloos avatar Already useless avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.