Configure PHP and inlay hints in Zed editor
Enable inlay hints and add PHP language server config with license key placeholder
This commit is contained in:
@@ -58,6 +58,10 @@
|
|||||||
"ensure_final_newline_on_save": true,
|
"ensure_final_newline_on_save": true,
|
||||||
"format_on_save": "prettier",
|
"format_on_save": "prettier",
|
||||||
"tab_size": 2,
|
"tab_size": 2,
|
||||||
|
"inlay_hints": {
|
||||||
|
"enabled": true,
|
||||||
|
"show_parameter_hints": true
|
||||||
|
},
|
||||||
|
|
||||||
// #############################################
|
// #############################################
|
||||||
// ## AI Stuff ##
|
// ## AI Stuff ##
|
||||||
@@ -99,10 +103,21 @@
|
|||||||
// ## Languages ##
|
// ## Languages ##
|
||||||
// #############################################
|
// #############################################
|
||||||
"languages": {
|
"languages": {
|
||||||
|
"PHP": {
|
||||||
|
"language_servers": ["phptools"]
|
||||||
|
},
|
||||||
"Dart": {
|
"Dart": {
|
||||||
"code_actions_on_format": {
|
"code_actions_on_format": {
|
||||||
"source.organizeImports": true
|
"source.organizeImports": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"lsp": {
|
||||||
|
"phptools": {
|
||||||
|
"initialization_options": {
|
||||||
|
"0": "<YOUR LICENSE KEY>"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user