volarjs / services

MIT License
124 stars 25 forks source link

HTML and CSS services should collect custom data added by other extensions #88

Open Princesseuh opened 3 months ago

Princesseuh commented 3 months ago

In VS Code, extensions can add custom data through the following code:

{
  "contributes": {
    "html": {
      "customData": ["./html.html-data.json"]
    },
    "css": {
      "customData": ["./css.css-data.json"]
    }
  }
}

At this time, this custom data isn't found by the HTML and CSS services, leading to downstream issues like this one: https://github.com/withastro/language-tools/issues/700