Skip to content

Shopify Liquid VS code extension error Request textDocument/hover failed #862

Open
@ssFOWLER

Description

@ssFOWLER

Describe the bug
Whenever my mouse hovers over any code in my liquid code files I get the error message Request textDocument/hover failed popping up in the bottom right. When you click check the out put it gives the following Message: Request textDocument/hover failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
Code: -32603

Source
if I hover over the p element in this example but does the same for any other.

<p> "hello world" </p>

Expected behaviour
It is meant to give you information about the element that you are hovering over.

Actual behaviour
Just gives an insufferable error message that you can't stop from showing up.

Debugging information

  • OS Windows
  • OS Version: Windows 11 Pro 64-bit
  • Theme Check Version [e.g. 3.7.0]

Additional context
I have checked the file path it gives me which is just the file path to where it is installed on my computer and at no point does it contain "//". I don't even want the information to show up when I hover over different elements the error is just doing my head in. I would like to add as well this only happens in liquid files no error messages like this show up in HTML, CSS or JS files.

Also when it is a HTML element in a liquid file it does show the information about it like for example if I hover over a "option" element it gives me this "The option element represents an option in a select element or as part of a list of suggestions in a datalist element." but still throughs up the error in the bottom right.

Image

Image

PS. Sorry if this is in the wrong place quite new to github and if it is please help by pointing me to the correct place to get help with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions