top-think / top-think/think-orm

think-orm facade的 Db:: 和 model:: 都没有提示

Open
#246 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
437
Forks
188
PR merge metrics
No merged PRs in 30d

Description

PHPSTORM 2019.2 ,thinkphp6.0.7
我该如何让他们有提示?
Db::table()->where()->find();
table那一步是没有提示的

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported PHPStorm 2019.2 and ThinkPHP 6.0.7 behavior using the Db::table()->where()->find() example and investigate how facade and model APIs expose completion information. Done means PHPStorm provides completion for the table step and the related model methods, with the result verified against the reported versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.