Vscode-yaml: Error spam when editing yaml file with comments

Created on 20 Aug 2020  路  1Comment  路  Source: redhat-developer/vscode-yaml

[Error - 4:35:02 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: Cannot read property 'lineComments' of undefined
  Code: -32603 

Getting spammed with errors into the YAML Support output when I hover over any comment in my YAML file.

This starting happening since 0.10.0, this error does not appear on 0.9.1

image

bug

>All comments

See #355 for a possible workaround: Remove either comments OR leading ---

Was this page helpful?
0 / 5 - 0 ratings