Custom Properties contribution for CSS #64164
Labels
css-less-scss
Issues and items concerning CSS,Less,SCSS styling
feature-request
Request for new features or functionality
on-testplan
Milestone
Related: #47775
Problem
PostCSS has plugins like postcss-size and postcss-circle that adds custom, non-standard properties
People working on large code bases often have their own variant of CSS, for example: Allow contributions of custom CSS properties to CSS extension #47775 (comment)
unknownProperties
suppress diagnostic warnings, but do not provide other Language FeaturesIn CSS Language Service, we are adding more and more data from MDN. We would hope the data can be loaded separately from the app. For example:
createCSSLS({ propertySets: [standardProperties] })
creates a normal CSS LScreateCSSLS({ propertySets: [standardProperties, postcssProperties] })
creates a CSS LS that supportspostcssProperties
.Solution
css.experimental.custom.properties
as a setting that allows loading extra properties through JSONcontributes.css.custom.properties
as Extension Contributionat-rule
contributionThe text was updated successfully, but these errors were encountered: