Use short description from MDN for better CSS completion details #58391
Labels
css-less-scss
Issues and items concerning CSS,Less,SCSS styling
*duplicate
Issue identified as a duplicate of another issue(s)
MDN team is working on making short description for CSS properties available: mdn/data#261. We could use those to replace the ones we have in our legacy database. We are already doing so for the new CSS properties that our legacy database do not contain. See: https://github.com/Microsoft/vscode-css-languageservice/blob/master/build/mdn/mdn-documentation.js
Similar to using compatibility data from MDN, we'll use the description from MDN too.
One thing that has not been decided is if there should be a link at the end of completion details that point to the relevant MDN article. The motivation is that people might find it useful when they want to "read more" about a specific CSS property. It is also an attribution to MDN as we are using their data.
The concern is some people might find that it adds noise to the completion item.
The text was updated successfully, but these errors were encountered: