-
Notifications
You must be signed in to change notification settings - Fork 183
PHP Support in Brackets
Shubham Yadav edited this page May 7, 2019
·
7 revisions
We've introduced the PHP support in Brackets, powered by the PHP language server.
- Code Hinting - Open a PHP file and just get going...
- Parameter Hinting - Contextual parameter hints tell the user where they are in the call context
-
Jump to Definition -
Ctrl-J
and you're all set... - Linting - Diagnostics 'on type' or 'on save'...
-
Find References - Place the cursor and just right click or
Shift-F12
... -
Find Document Symbols -
Ctrl-T
to list all the symbols in the current document... -
Find Project Symbols -
Ctrl-Shift-T
to list all the project wide symbols...
// PHP Tooling default configuration settings
"php": {
"enablePhpTooling": true,
"executablePath": "php"//Path format: "C:\\path\\to\\php.exe" for WIN or "/Users/someuser/bin/php" for MAC
"memoryLimit": "4095M", //Recommended to increase to 20000M or up for bigger projects, -1 for infinite memory
"validateOnType": "false" //Configuration to have diagnostics "on type" or "on save"
}
Note: Don't forget to remove comments while using as valid JSONs can't have comments.