Giter Site home page Giter Site logo

thinkphp6_0-ide-helper's Introduction

thinkphp6_0-ide-helper

thinkphp6.0 在IDE中的自动完成、代码提示助手。

新版的thinkphp6.0 对IDE不是很友好,这里把相关的门面类(包括Db类)整理成一个IDE助手文件。

官方可能会在后续版本进行更新,所以这个只是一个临时的解决方法,没有对方法进行筛选,而是把相关类的public function 全部整理到一起,让IDE起到自动完成和代码提示的作用。

若有多余或不足,请提Issue。

安装方法

将文件_ide_helper.php 放到项目根目录中即可生效,效果如下。

门面(facade)类提示:

提示

模型提示:

提示

Db类提示:

提示

提示

模型方法提示

可参考: https://github.com/yunwuxin/think-model-helper

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.