{"id":13596850,"url":"https://github.com/mrmlnc/vscode-postcss-sorting","last_synced_at":"2025-03-16T14:31:06.116Z","repository":{"id":44461366,"uuid":"55872142","full_name":"mrmlnc/vscode-postcss-sorting","owner":"mrmlnc","description":":electric_plug: VS Code plugin to sort CSS rules content with specified order.","archived":false,"fork":false,"pushed_at":"2023-10-03T19:37:08.000Z","size":59,"stargazers_count":59,"open_issues_count":14,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-27T10:38:54.705Z","etag":null,"topics":["visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://goo.gl/6yyLPA","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmlnc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-09T23:43:09.000Z","updated_at":"2024-10-25T14:09:04.000Z","dependencies_parsed_at":"2024-08-01T16:42:15.641Z","dependency_job_id":null,"html_url":"https://github.com/mrmlnc/vscode-postcss-sorting","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-postcss-sorting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-postcss-sorting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-postcss-sorting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-postcss-sorting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/vscode-postcss-sorting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818194,"owners_count":20352629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["visual-studio-code","vscode","vscode-extension"],"created_at":"2024-08-01T16:02:52.070Z","updated_at":"2025-03-16T14:31:05.517Z","avatar_url":"https://github.com/mrmlnc.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# VS Code Post​CSS Sorting\n\n\u003e VS Code plugin to sort CSS rules content with specified order. Powered by [postcss-sorting](https://github.com/hudochenkov/postcss-sorting).\n\n## Install\n\n  * Press \u003ckbd\u003eF1\u003c/kbd\u003e and select `Extensions: Install Extensions`.\n  * Search for and select `postcss-sorting`.\n\nSee the [extension installation guide](https://code.visualstudio.com/docs/editor/extension-gallery) for details.\n\n## Usage\n\nPress \u003ckbd\u003eF1\u003c/kbd\u003e and run the command named `PostCSS Sorting: Run`.\n\n## Supported languages\n\n  * CSS\n  * PostCSS\n  * Less\n  * SCSS\n\n## Options\n\nYou can override the default and user settings for individual projects. Just add an `postcssSorting` object to the `settings.json` file.\n\nFor example:\n\n```json\n{\n  \"postcssSorting.config\": {\n    \"order\": [\n      \"custom-properties\",\n      \"dollar-variables\",\n      \"declarations\",\n      \"at-rules\",\n      \"rules\"\n    ],\n    \"properties-order\": [\"display\", \"position\", \"top\", \"right\", \"bottom\", \"left\"]\n  }\n}\n```\n\nSee the [postcss-sorting documentation](https://github.com/hudochenkov/postcss-sorting#options) for all rules and predefined configs.\n\nAlso we support:\n\n  * `postcssSorting` as `string` starts with `.` or `~` or `/`\n  * `postcssSortingConfig` property in `package.json`\n  * `.postcss-sorting.json`\n  * `postcss-sorting.json`\n  * `POSTCSS_SORTING_CONFIG` env\n\n## Keyboard shortcuts\n\nFor changes keyboard shortcuts, create a new rule in `File -\u003e Preferences -\u003e Keyboard Shortcuts`:\n\n```json\n{\n  \"key\": \"ctrl+shift+c\",\n  \"command\": \"postcssSorting.execute\"\n}\n```\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/vscode-postcss-sorting/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-postcss-sorting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fvscode-postcss-sorting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-postcss-sorting/lists"}