Closed
Description
Should suggest:
- global symbols (classes, interfaces, traits, functions)
- local variables
- local parameters
- variables imported with
use
- not the variables outside of the function scope
- properties and methods of classes if the cursor is behind a
->
- it should resolve the variable to a class type and get the members
- namespaces and classes when the cursor is inside a
use
statement - built-in PHP functions, classes and globals
- how to get them? Is there a machine-parseble version of the docs?
It should:
- follow PSR autoloading rules defined in composer.json
- parse docblocks for type annotations of parameters and properties