Zed
Zed is the hot new editor, in the style of VS Code, but from scratch. Here are some setup recommendations based on my experience.
PHP
If using PHP, install the PHP extension.
Zed uses the Phpactor language server by default. While I love its Open Source nature, it does not yet have the level of performance necessary for most projects. Mago is another promising new LSP, but for now we have to stick with intelephense to get work done.
- Open Settings > Edit in settings.json
- Add this
language_serversline under the PHP languages section, or att the entire section if it's not there yet.
{
"languages": {
"PHP": {
"language_servers": ["intelephense", "!phpactor", "..."],
"hard_tabs": true,
},
}
}
Restart Zed and it should automatically download and switch to intelephense