Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Empty tooltips are displayed after a function call #614

Description

image

Seems like we're returning something VSC can't handle.

[Trace - 10:26:59 AM] Received response 'textDocument/signatureHelp - (29)' in 1ms.
Result: {
    "signatures": [
        {
            "label": "foo()",
            "documentation": {
                "kind": "markdown",
                "value": ""
            },
            "parameters": []
        }
    ],
    "activeSignature": -1,
    "activeParameter": -1
}

Old LS does:

image

[Trace - 10:30:47 AM] Received response 'textDocument/signatureHelp - (1)' in 60ms.
Result: {
    "signatures": [
        {
            "label": "foo()",
            "documentation": {
                "kind": "plaintext",
                "value": ""
            },
            "parameters": [],
            "_returnTypes": [
                "int"
            ]
        }
    ],
    "activeSignature": 0,
    "activeParameter": -1
}

Activity

  1. added a commit that references this issue on Feb 14, 2019
    86b4876
  2. added 2 commits that reference this issue on Feb 15, 2019
    e2c12dc
    7707351
  3. added 2 commits that reference this issue on Nov 1, 2019
    6c86149
    210beec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions