microsoft / vscode-custom-data

Documentation and sample for using VS Code custom data format
MIT License
196 stars 75 forks source link

Support tags in css #82

Open Yegorich555 opened 1 year ago

Yegorich555 commented 1 year ago

With html.customData I can add custom tags, but I didn't find any similar for css.customData. Is it possible?

0c3d7r4 commented 1 year ago

css is custom data https://github.com/microsoft/vscode-custom-data/blob/main/web-data/data/browsers.css-data.json

Yegorich555 commented 1 year ago

Pointed file contains descriptions for properties, but there is nothing related to tags. When I type di intellisense suggests div. I'd like to point custom tags like wup-time etc. So when developer types wup he can see all similar custom tags

0c3d7r4 commented 1 year ago

similar to your request @Yegorich555 another cool thing would be if inside custom html tag people could place a style slot, and the IDE would know the name of the tags that can be inside the custom prop and suggest them to us as we type, e.g.,

<my-custom-tag>
 <style>
  .KnownClass { /*intellisenced*/ }
 </style>
</my-custom-tag>