Coder Social home page Coder Social logo

Comments (5)

juliardi avatar juliardi commented on June 9, 2024 1

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.

juliardi avatar juliardi commented on June 9, 2024

Also, as an additional note, Intelephense started successfully. The warning show up when I tried the autocompletion feature.

from intelephense-docs.

bmewburn avatar bmewburn commented on June 9, 2024

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 not php.
  • 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.

juliardi avatar juliardi commented on June 9, 2024

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.

juliardi avatar juliardi commented on June 9, 2024

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.
image

from intelephense-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.