| Github | https://github.com/phpactor/phpactor |
| Documenatation | https://phpactor.readthedocs.io/en/master/ |
| Github | https://github.com/phpactor/phpactor |
| Documenatation | https://phpactor.readthedocs.io/en/master/ |
have improved the inlayhints (inspired by the Rust Analyzer) this morning
- fixes the formatting (now that neovim lspconfig supports these hints natively)
- does not repeat parameter names for named parameters
- does not show parameter names if the var name is the same as the param name
- show the class/method names at the end of the body
- only show variable type hints for assignments
The #zed editor uses me as it's default language server for PHP - after playing with it briefly I can confirm that it's highly user friendly and the VIM mode is actually pretty decent.
Just implemented diagnostics and a code action for undefined variables. Phpactor will now suggest a code action for undefined variables which match an defined variable within a levenstien distance of 4.
Took ~ 2 hours and 20 minutes to implement.
Have merged experimental support for inlay hints, when enabled, optionally show:
- Parameter name hints
- Variable types
Disabled by default for now.