Comments (5)
I am sorry, I think the error happened because of may faulty config. I put intelephense
instead of php
as a key in the configuration. This is my working configuration for Kate Editor :
"php": {
"command": ["/usr/bin/intelephense", "--stdio", "--debug"],
"url": "https://github.com/bmewburn/intelephense-docs",
"highlightingModeRegex": "^PHP.*$",
"rootIndicationFileNames": ["composer.json"]
},
from intelephense-docs.
Also, as an additional note, Intelephense started successfully. The warning show up when I tried the autocompletion feature.
from intelephense-docs.
This usually means the document is not open and in memory. A document may not have been opened if either:
- A
didOpen
notification was not sent from the client. - The
didOpen
was ignored by intelephense because the document language ID was notphp
. - The
didOpen
was ignored by intelephense because the document was too large (default 1MB).
Are you able to provide a trace of the requests/notifications sent by the client?
from intelephense-docs.
Unfortunately, I haven't found the way to do that with Kate editor. I will update this thread when I found another clue regarding this issue.
from intelephense-docs.
Hi @bmewburn ,
Today I realized that my intelephense version is old (version 1.4.x) and after installing version 1.7.1, I got another error message from intelephense :
textDocument/didOpen ignored. file:///path/to/file.php has unsupported language ID intelephense.
I think this match the second scenario you mentioned, the didOpen
was ignored by intelephense because the document language ID was not php. Kate's language information itself looks like this, so maybe they do not send it as PHP.
from intelephense-docs.
Related Issues (20)
- Typo?
- LS cannot find a class in the workspace HOT 1
- PHP 8 "match" Errors in Sublime Text 4
- How to remove licence ?
- Support for LSP progress endpoint
- Please provide an example of a valid `workspace/configuration` response HOT 4
- how to activate License Key from CLI?
- Implemented for enum is not detected
- A core PHP function is undefined? HOT 1
- Wrong repo sory
- Server should not advertise `selectionRangeProvider` in non-registered version HOT 2
- Variable Arguments with PHPDoc: Variable gets extra array dimension
- Constants not recognized as static or self in Traits HOT 1
- Crashes due to unhandled promise rejection on Node v15+ when using Eglot
- Destructing generic array object doesn't provide type hints HOT 1
- There is no formatter for 'php' files installed HOT 1
- not work if files have opened , need reopen to work
- Question: Is there a way to ignore symbols/notes?
- When renaming, "autoload-dev" is not used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intelephense-docs.