Zed IDE
The Zed editor is designed for high performance and AI-powered collaboration. The PHP Tools extension brings advanced features such as IntelliSense, diagnostics, code actions, quick fixes, and Laravel IDE support.
Enabling PHP Tools in Zed#
Go to Zed / Extensions, and install the extension php
.
Add the following to your Zed settings to enable PHP Tools:
To activate your license, add initialization_options
:
"lsp": {
"phptools": {
"initialization_options": {
"0": "{json from https://www.devsense.com/en/purchase/validation}"
},
}
}
Settings#
Add any setting into the "initialization_options"
section. For example:
"lsp": {
"phptools": {
"initialization_options": {
"php.stubs": ["*", "zip", "zlib", "pcntl", "com", "composer", "wordpress"],
"php.workspace.includePath": "file:///Users/me/projects/php_stubs"
}
}
}
The list of settings has not a documentation page (yet). In general they are the same as php.
settings in VSCode's settings.json
.