-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css] Order suggested CSS properties based on usage not alphabetically #3145
Comments
To find the most popular CSS properties we ca use GitHub data on Google Big Query. For example: SELECT
COUNT(path), content
FROM [bigquery-public-data:github_repos.files] files
JOIN [bigquery-public-data:github_repos.contents] contents
ON contents.id = files.id
WHERE
path LIKE '%.css'
OR path LIKE '%.scss'
OR path LIKE '%.less'
OR path LIKE '%.sass'
AND content CONTAINS 'background-color' Where can I find a table of all CSS properties so I can build the popularity table based on GitHub data? |
+1 I came here to ask for the same thing. There are some selectors which really are never used and should never be pushed to the top of the auto-suggest. For example, if you type "wid", the first suggestion is "widows", a property I didn't even know existed until VS Code tried to autocomplete it for me. |
+1 |
I have nothing against widows but would be nice to have width first, because we use it all the time |
There's a big discussion thread about this on reddit https://www.reddit.com/r/webdev/comments/c6pfay/the_most_stupid_autocompletion_in_the_entire_world/ |
Chrome publishes its stats: https://www.chromestatus.com/metrics/css/popularity We could its ordering to assign a ranking order to CSS properties. |
For example: for
b
the first suggested property isbackface-visibility:
which is rarely used compared tobackground:
The text was updated successfully, but these errors were encountered: