-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to configure intelephense #17
Comments
Ah, I have a typo on that. It should be
|
I fixed the typo, but it is still indexing all files.
Update: Sorry, I had |
Intelephense server is running, but I cannot find any node processes running in |
btw, now in the latest lsp-intelephense // @see https://github.com/bmewburn/vscode-intelephense/blob/master/package.json
"settings": {
"intelephense": {
"files": {
"exclude": [
"**/.js",
"**/.png",
"**/.jpg",
"**/.css",
"**/.pdf",
"**/.txt",
"**/Volume/aaa/**",
"**/Volume/bbb/**",
],
},
},
}, |
Hello! I've configured lsp-intelephence like this: {
"settings":
{
"debug":
{
"enable": false,
},
"intelephense":
{
"environment":
{
"documentRoot": "/var/www/html/myproject/",
"phpVersion": "7.3.0"
},
"diagnostics":
{
"undefinedConstants": false,
"undefinedFunctions": false,
"undefinedSymbols": false
},
"files":
{
"associations": [
"*.php",
"*.phtml",
"*.inc"
],
"exclude": [
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**/{Tests,tests}/**",
"/var/**",
"/framework/**",
"**/vendor/**/{Example,example,Examples,examples}/**"
]
},
"trace":
{
"server": "off"
}
}
}
} and it indexes ony the current file which I work with there is debug log
|
In my experiments, I think it only counts newly indexed files. If you clean the cache dir and re-open the project, it should show many files are indexed. |
Where can I see the debug log? I am getting the following error when trying @antonpresn's config
|
@jfcherng Thank You for fast response :) What I've done I can't reproduce :) - many restarts, and also
Also I've noticed two options when disabling lsp And only lsp-intelephence gives one file indexing And finally! After disabling some packages (because found some errors in console) and lsp-intelephence (while intelephence-ls is still enabled) I can see my project indexed! And this is way better than before! @JoyceBabu by the way my global config for LSP |
I would suggest remove |
Thank you @antonpresn @jfcherng . You can find the difference between |
Finally 🍻
@antonpresn If your issue is also solved, shall I close this issue? |
@JoyceBabu, Great! I think yes, Issue is solved :) It worked after I've copied your config from here #26 ;) |
Great 😀. I am closing the issue. |
LPS. sublime setting "show_diagnostics_panel_on_save": 0, |
How can I add an path to the file exclusions list in intelephense?
In COC / VS Code we have to use
But as per #10, we have to use
I tried excluding all files by setting it to
**/**
and neither worked for me.The text was updated successfully, but these errors were encountered: