Update wiki instructions for IDE support in intellij/phpstorm
See if https://plugins.jetbrains.com/plugin/10209-lsp-support works - it may require updates for the betas
for context this is my working sublime text -> lsp -> phan config:
// Settings in here override those in "LSP/LSP.sublime-settings"
{
// "log_stderr": true,
"auto_show_diagnostics_panel": "never",
// "diagnostics_gutter_marker": "",
"show_diagnostics_highlights": true,
// "diagnostics_highlights_style": "fill",
// "show_code_actions_bulb": false,
// "show_symbol_action_links": true,
// "show_view_status": false,
// "complete_all_chars": false,
"disabled_capabilities": ["hover", "completion", "signatureHelp"],
"clients": {
"phan": {
"command": [
"/Users/adriansmith/.composer/vendor/bin/phan",
"--quick",
"--language-server-on-stdin",
// "--language-server-disable-hover",
"--language-server-disable-completion",
"--language-server-disable-go-to-definition",
],
"enabled": true,
"initializationOptions": {
"storagePath": "/tmp/phan",
},
"languages": [
{
"languageId": "php",
"scopes": ["source.php", "embedding.php"],
"syntaxes": ["Packages/PHP/PHP.sublime-syntax"],
}
],
},
},
}
I'm attempting to do the same with the LSP support plugin for intellji, but I'm not having much luck:
I have another LSP server clj-kondo working inside intellji so I know the plugin works to a degree, but not sure what's failing between phan and LSP Support plugin for intellji
For further context these are the versions:
and 1.6.1 for the lsp support plugin
I think this is JetBrains ticket from their side https://youtrack.jetbrains.com/issue/WI-30592