Skip to content
Discussion options

You must be logged in to vote

This is an intelephense bug: it's sending a malformed response for the completion request. The LSP spec requires the isIncomplete field in the CompletionItems type (otherwise it would be called isIncomplete?) but intelephense doesn't provide it:

{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "items": [
      {
        "label": "protected",
        "kind": 14,
        "textEdit": {
          "range": {
            "start": {
              "line": 19,
              "character": 0
            },
            "end": {
              "line": 19,
              "character": 4
            }
          },
          "newText": "protected"
        },
        "sortText": "protected"
      }
    ]
  }
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@eric-hansen
Comment options

Answer selected by eric-hansen
Comment options

You must be logged in to vote
1 reply
@seriiserii825
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants
Converted from issue

This discussion was converted from issue #8773 on November 09, 2023 23:39.