I have Sublime LSP and the (premium) Intelephense Server installed, but none of the LSP-specific Goto commands seem to work.
No matter where I put my cursor, or what is highlighted, I can’t Goto the helpers.php file
require_once 'includes/helpers.php';
Log Panel:
LSP-intelephense: Intelephense premium features enabled.
LSP-intelephense: Initialised in 493 ms
LSP-intelephense: Searching file:///Users/chris/Library/Caches/Sublime%20Text/Package%20Storage/LSP-intelephense/16.13.2/language-server/node_modules/intelephense/lib/stub for files to index.
LSP-intelephense: Searching file:///Users/chris/Dropbox/valet/project for files to index.
LSP-intelephense: Indexing started.
LSP-intelephense: Indexing ended. 1 files indexed in 0s.
Diagnostics panel:
Troubleshooting: LSP-intelephense
Version
- LSP: 1.16.2
- Sublime Text: 4126
Server Test Run
- exit code: 0
- output
Server Configuration
- command
[
"/usr/local/bin/node",
"/Users/chris/Library/Caches/Sublime Text/Package Storage/LSP-intelephense/16.13.2/language-server/node_modules/intelephense/lib/intelephense.js",
"--stdio"
]
- shell command
/usr/local/bin/node "/Users/chris/Library/Caches/Sublime Text/Package Storage/LSP-intelephense/16.13.2/language-server/node_modules/intelephense/lib/intelephense.js" --stdio
- selector
embedding.php
- priority_selector
(source.php)
- init_options
{
"clearCache": false,
"licenceKey": "{removed for post}"
}
- settings
{
"auto_show_diagnostics_panel": false
}
- env
{
"PATH": "/usr/local/bin:/usr/local/bin:/usr/local/bin:"
}
Active view
- File name
/Users/chris/Dropbox/valet/project/wp-content/themes/locks/functions.php
- Settings
{
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
"lsp_active": true,
"syntax": "Packages/PHP/PHP.sublime-syntax"
}
- base scope
embedding.php
Project / Workspace
- folders
[
"/Users/chris/Dropbox/valet/project"
]
- is project: True
- project data:
{
"folders": [
{
"path": "."
}
]
}
LSP configuration
{
"show_diagnostics_panel_on_save": 0
}
System PATH
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin