Microsoft/vscode

[css] Allow extensions to choose to use whether to use CSS default data provider

Open

#142,946 创建于 2022年2月13日

在 GitHub 查看
 (3 评论) (0 反应) (1 负责人)TypeScript (10,221 fork)batch import
css-less-scssfeature-requesthelp wanted

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

The CSS language service has had the parameter of whether to use the default data provider (useDefaultDataProvider) for long while now and more recently the exposing of css.customData for extensions which is lovely. However the bundled css-language-features extension sets data providers with useDefaultDataProvider forced to true.

Considering these go together in setting data providers, it would be fantastic to expose useDefaultDataProvider in the same way. This would make it very simple for extensions to support languages/frameworks that deviate from spec. Seems like it would be simple to do as well.

贡献者指南