Microsoft/vscode

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

開放

#142,946 建立於 2022年2月13日

 (3 則留言) (0 個反應) (1 位負責人)TypeScript (39,847 個分叉)batch import
css-less-scssfeature-requesthelp wanted

倉庫指標

星標
 (184,936 顆星)
PR 合併指標
 (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.

貢獻者指南