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,
|
||||
"format_on_save": "prettier",
|
||||
"tab_size": 2,
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_parameter_hints": true
|
||||
},
|
||||
|
||||
// #############################################
|
||||
// ## AI Stuff ##
|
||||
@@ -99,10 +103,21 @@
|
||||
// ## Languages ##
|
||||
// #############################################
|
||||
"languages": {
|
||||
"PHP": {
|
||||
"language_servers": ["phptools"]
|
||||
},
|
||||
"Dart": {
|
||||
"code_actions_on_format": {
|
||||
"source.organizeImports": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"lsp": {
|
||||
"phptools": {
|
||||
"initialization_options": {
|
||||
"0": "<YOUR LICENSE KEY>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user