Skip to content

Completion Request returning null response leads to an unhandled exception in the client #584

Open
@yevgeni-zolotko

Description

@yevgeni-zolotko

As defined in the spec here Completion Request can return null:

textDocument/completion
...
Response:
result: CompletionItem[] | CompletionList | null

However, if a server returns null from Completion Request, an unhandled is thrown on client (most probably, here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions