|
| Setting | Type | Default | Description |
|---|---|---|---|
phpParameterHints.enabled |
boolean |
true |
Enable or disable parameter hints |
phpParameterHints.literalsOnly |
boolean |
false |
Only show hints for literal values (strings, numbers, booleans, null, arrays) |
phpParameterHints.collapseWhenEqual |
boolean |
true |
Hide the hint when the variable name matches the parameter name |
Colors
You can edit the background and font colors to match your style, add to the settings.json:
"workbench.colorCustomizations": {
"editorInlayHint.parameterBackground": "#fff",
"editorInlayHint.parameterForeground": "#000"
}
Screenshots
PHP files
Blade files
Requirements
- VS Code 1.75.0 or later
- A PHP language server extension (recommended: Intelephense) for best results with built-in functions and third-party libraries
The extension works without a language server, but hints will only appear for functions and methods defined in the same file.

