Suggest names after typing class names on constructor

dev-master 2022-01-28 19:59 UTC

This package is auto-updated.

Last update: 2022-11-01 19:42:53 UTC


Name Suggestion Screenshot

It will give suggestions for parameter names when creating methods.

Using the Language Server Protocol

Phpactor implements the Language Server Protocol which is supported by many text editors and IDEs.

First perform a Phpactor Global Installation and then configure the language server in your editor.

You can now in the phpactor-name-suggestion extension via CLI:

phpactor extension:install codelicia/phpactor-name-suggestion

To check it the extension is running run:

phpactor extension:list

Using the VIM RPC Plugin

Install the VIM RPC Plugin.

You can run :call phpactor#ExtensionInstall('codelicia/phpactor-name-suggestion') to install the phpactor-name-suggestion extension.

If everything goes right, you can see the following message Extension "codelicia/phpactor-name-suggestion" installed.

One can also check the installed extensions by running call phpactor#ExtensionList()