Microsoft/vscode

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

Open

#142,946 opened on 2022年2月13日

GitHub で見る
 (3 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
css-less-scssfeature-requesthelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド