-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request intelephense server support #409
Comments
People seemed to have got it working in this issue: #259 |
Thanks @rwols i've just visited this issue but unfortunately I can't get it to work, it doesn't seem to be indexing. |
I am using it and could confirm it's working. Here's my settings for it. "intelephense-ls":
{
// npm i -g intelephense-server
"enabled": true,
"command": [
"node",
"C:/Users/jfcherng/AppData/Roaming/npm/node_modules/intelephense-server/lib/server.js",
"--stdio",
],
"scopes": ["source.php", "embedding.php"],
"syntaxes": ["Packages/PHP/PHP.sublime-syntax"],
"languageId": "php",
"initializationOptions": {
"storagePath": "C:/Users/jfcherng/AppData/Local/Temp/intelephense-ls",
},
}, intelephense-server runs obviously faster than php-language-server but some latest PHP features would be linted as errors. |
@carlevison Probably because files (maybe |
@jfcherng Unfortunately not, I still don't get completions. |
@carlevison I have no clue then. I have the same issue as well, to a certain degree. Sometimes it works and sometimes doesn't. |
@jfcherng Thank you anyway. Hopefully someone will work on this so it works how it does in VSCode which is entirely possible. |
One hint can be to investigate the VS Code extension for the intelephense server. Any extra logic beyond the standard messages would have to be implemented as an additional package to LSP. We should document the configuration for sure! |
Added intelephense to the documentation. |
I noticed the last issue was closed in January but considering intelephense is superior to the current PHP intellisense we have has anybody tried to implement this.
https://github.com/bmewburn/intelephense-server
It would be fantastic to have this in Sublime.
The text was updated successfully, but these errors were encountered: