Closed rwols closed 3 years ago
Some keys in the returned completion items have a null value. For example:
null
{ "label": "__bool__", "deprecated": false, "documentation": "self != 0", "command": null, "textEdit": { "newText": "__bool__", "range": { "end": { "character": 18, "line": 237 }, "start": { "character": 18, "line": 237 } } }, "preselect": false, "detail": null, "data": null, "commitCharacters": null, "kind": 18, "sortText": "zz__bool__", "insertTextFormat": null, "additionalTextEdits": null, "filterText": null, "insertText": null }
This isn't allowed by the spec. Either the key exists and the value is valid, or the key doesn't exist.
Created https://github.com/openlawlibrary/pygls/issues/124
Looks like it is fixed upstream. Closing now.
Some keys in the returned completion items have a
null
value. For example:This isn't allowed by the spec. Either the key exists and the value is valid, or the key doesn't exist.