207 Followers
5 Following
70 Posts
As Phactor language server is now in it's 10th year, I thought it deserved some stickers. If you contribute or sponsor send a DM and I'll send you some #php

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.

https://zed.dev/

Zed — Love your editor again

Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Zed
added the "fill match arms" refactoring which I really missed from Rust:
The next release of phpactor will feature an extension for `phpcs` (PHP_CodeSniffer) providing formatting and diagnostics, thanks to Bart Jaskulski!
Another long missing feature has landed - completion for array shapes (or at least it will when the build passes)
Added a code action to add `implements` and `extends` tags if they are missing

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.

Docs: https://phpactor.readthedocs.io/en/master/reference/configuration.html#language-server-worse-reflection-inlay-hints-enable

Configuration — Phpactor latest documentation

Phpactor provides a fair number of built-in extensions, and now it will automatically suggest them if they apply to your project: