{"id":13852532,"url":"https://github.com/dmnsgn/sublime-stylefmt","last_synced_at":"2025-04-30T11:21:58.371Z","repository":{"id":2798793,"uuid":"40656509","full_name":"dmnsgn/sublime-stylefmt","owner":"dmnsgn","description":"Sublime Text plugin for Stylefmt","archived":false,"fork":false,"pushed_at":"2022-09-10T08:18:19.000Z","size":9381,"stargazers_count":49,"open_issues_count":5,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-20T22:32:53.112Z","etag":null,"topics":["css","formatter","stylefmt","sublime-text-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmnsgn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T12:02:25.000Z","updated_at":"2023-03-17T14:36:48.000Z","dependencies_parsed_at":"2023-01-11T16:12:33.466Z","dependency_job_id":null,"html_url":"https://github.com/dmnsgn/sublime-stylefmt","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Fsublime-stylefmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Fsublime-stylefmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Fsublime-stylefmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Fsublime-stylefmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmnsgn","download_url":"https://codeload.github.com/dmnsgn/sublime-stylefmt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251689009,"owners_count":21627815,"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":["css","formatter","stylefmt","sublime-text-plugin"],"created_at":"2024-08-04T22:01:24.760Z","updated_at":"2025-04-30T11:21:58.344Z","avatar_url":"https://github.com/dmnsgn.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# sublime-stylefmt\nSublime Text plugin for [Stylefmt](https://github.com/morishitter/stylefmt)\n\n## Install\n\n### Package Control\n\nInstall `Stylefmt` with [Package Control](https://packagecontrol.io/packages/Stylefmt) and restart Sublime.\n\n**You need to have [Node.js](http://nodejs.org) installed.**  \nMake sure it's in your $PATH by running `node -v` in your command-line.\n\n\u003e Note: On OS X it's expected that Node resides in the /usr/local/bin/ folder, which it does when installed with the default installer. If this is not the case, symlink your Node binary to this location:  \n`ln -s /full/path/to/your/node /usr/local/bin/node`\n\n### Add Repository\n\n1) Open the Command Palette (Windows and Linux: \u003ckbd\u003ectrl\u003c/kbd\u003e+\u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e, OSX: \u003ckbd\u003ecmd\u003c/kbd\u003e+\u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e)\n\n2) Select *Package Control \u003e Add Repository*\n\n3) Paste in https://github.com/dmnsgn/sublime-stylefmt\n\n## Usage \n\n### Command Palette\n\nUse the Command Pallete (Windows and Linux: \u003ckbd\u003ectrl\u003c/kbd\u003e+\u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e, OSX: \u003ckbd\u003ecmd\u003c/kbd\u003e+\u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e) and run:\n\n\u003e Run Stylefmt\n\n## Options\n\n*(Preferences \u003e Package Settings \u003e Stylefmt \u003e Settings - User)*\n\nThe *format on save* functionality can be extended to be applied on specific syntaxes or extensions.\n\n```json\n{\n  \"formatOnSave\": false,\n  \"syntaxes\": [\"SCSS\"],\n  \"extensions\": [\".scss\"]\n}\n```\n\n### Project settings\n\nYou can override the default and user settings for individual projects. Just add an `\"Stylefmt\"` object to the `\"settings\"` object in the project's `.sublime-project` file containing your [project specific settings](http://www.sublimetext.com/docs/3/projects.html).\n\nExample:\n\n```json\n{\n\t\"settings\": {\n\t\t\"Stylefmt\": {\n\t\t\t\"formatOnSave\": false,\n\t\t\t\"syntaxes\": [\"SCSS\"],\n\t\t\t\"extensions\": [\".scss\"]\n\t\t}\n\t}\n}\n```\n\n### Keyboard shortcut\n\nYou can also set up a keyboard shortcut to run the command by opening up *Preferences \u003e Key Bindings - User* and adding your shortcut with the `stylefmt` command.\n\nExample:\n\n```json\n[\n\t{ \"keys\": [\"alt+super+f\"], \"command\": \"stylefmt\" }\n]\n```\n\n## License\n\nBased on [FixMyJS plugin](https://github.com/addyosmani/sublime-fixmyjs) by Addy Osmani.\n\nISC © [Damien Seguin](http://dmnsgn.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmnsgn%2Fsublime-stylefmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmnsgn%2Fsublime-stylefmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmnsgn%2Fsublime-stylefmt/lists"}