atom-autocomplete-php provides autocompletion for the PHP language for projects that use Composer for dependency management. What cool things can you expect?
use
statements where needed./** @var MyType $var */
as well as /** @var $var MyType */
./** @var MyType */
.Currently the following limitations or restrictions are present:
@return
statements for functions and methods.@param
statements for functions and methods.@var
statements for properties in classes.Some features may or may not work outside these restrictions. Composer is primarily used for its classmap, to fetch a list of classes that are present in your codebase. Reflection is used to fetch information about classes.
The package also requires a one time setup, To configure the plugin, click on "package" in your preferences, and select "settings" on atom-autocomplete-php plugin.
You can test your configuration by using a command (cmd - shift - p) : Atom Autocomplete Php : Configuration
static
and self
behave mostly like $this
and can access non-static methods when used in non-static contexts. See also issue #101.Keep in mind that this plugin is under active development. If you find a bug, please, open an issue with more information on how to reproduce. Feel free to contribute ;)
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.