Microsoft/vscode
在 GitHub 查看[css] Allow extensions to choose to use whether to use CSS default data provider
Open
#142,946 建立於 2022年2月13日
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.